CSS spring physics