Skip to content

Instantly share code, notes, and snippets.

gefangenimnetz

View GitHub Profile
@gefangenimnetz
gefangenimnetz / materialDesignShadowHelper.less
Last active May 11, 2019
Less css box-shadow helper for cards & modals according to Googles Material Design spec.
View materialDesignShadowHelper.less
/**
* A mixin which helps you to add depth to elements according to the Google Material Design spec:
* http://www.google.com/design/spec/layout/layout-principles.html#layout-principles-dimensionality
*
* Please note that the values given in the specification cannot be used as is. To create the same visual experience
* the blur parameter has to be doubled.
*
* Author: Florian Kutschera (@gefangenimnetz), Conceptboard GmbH (@conceptboardapp)
*
* Example usage:
You can’t perform that action at this time.