Site icon WebArtDeveloper

MATERIAL DESIGN TRANSITION

Click any link in this block of text to load another set of text. The links don’t go anywhere yet. They are just hooks to allow you to click somewhere.

The style and animation is entirely CSS so it is smooth. JavaScript is used to add classes at the right time. It also pauses to wait for the content to be replaced, and calculates where to centre the hole. There are two stages to the animation. When a link is clicked the border-width grows very large.
Made by David Marland
October 20, 2014

Download Demo and Code
Exit mobile version