Designr | Sophia Teper
link

I’ve been meaning to post this for a while. Using no JavaScript and just pure CSS, Román Cortés was able to create a rotating Coke can.

He figured out that “by a combination of the CSS1 properties background-attachment and background-position, 2D displacement maps could be created and, by scrolling, the displacement map would be applied to different parts of the texture (a background image).”

Share |

Comments
blog comments powered by Disqus