Skip to main content

Animated Cuboids with CSS

Silly use of CSS transforms and animations to have a bunch of cuboids rotate in a certain pattern. There’s no JavaScript involved, everything is done with CSS (generated by Sass).

If you want to know how to calculate sines, cosines and tangents in Sass, take a look at my article Trigonometry In Sass.

Also make sure to visit Ana Tudor’s CodePen to see what you can do when you really know your math.

Check out the resources used on this page:

See also