Transitions and motion

One of Material Design's most appealing characteristics is the way elements move. Having content slide in and out of view allows us to manage data in a way that keeps the interface as uncomplicated as possible, while allowing users to access deeper content as and when they choose.

Wave animations

The wave effect is probably the most widely recognized material animation, and implementing it with Materialize could not be easier. In its simplest form, it looks like this:

<a class="btn waves-effect">OK</a>

The default implementation provides a gray ripple effect, but the framework provides seven other colors, plus a simple way to generate our own custom colors with CSS. The seven provided colors are:

waves-light waves-red waves-yellow ...

Get Learning Material Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.