May 25, 2011 05:58 am GMT
Original Link: http://jlongster.com/s/dom3d/
Animated 3D Objects Without SVG or Canvas
One of the ways you can make a triangle with CSS is by using a 45-degree angle gradient on an element that goes from from colored to transparent with an hard split at the half-way point. Then you can use CSS3 stuff like translate, rotate and skew on them to alter their shape. And if you are really fracking good at it like James Long, you can make an entire animated 3D shape out of a whole bunch of them.…
Original Link: http://jlongster.com/s/dom3d/
Share this article:
Tweet
View Full Article