Freebie: Google Material Design Shadow Helper

A LESS CSS mixin for creating box-shadows according to Google’s Material Design style guide

Florian Kutschera
Jul 10, 2014 · 2 min read

One of the things that Google revealed at the Google I/O 2014 was the new visual language for all their apps, services and Android OS — called material design. Together with the keynote they released a living style guide.

I am impressed by the attention Google pays to all the details in their guide. I was especially impressed by the section on shadows which are used to define different layers and thus create depth.

Shadows with different offset and blur are used to simulate depth.
(Image: Google, Material Design specification)
https://gist.github.com/gefangenimnetz/3ef3e18364edf105c5af.js

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store