Objects in material design possess similar qualities to objects in the physical world. In the physical world, objects can be stacked or affixed to one another, but cannot pass through each other. Objects cast shadows and reflect light.

Material Design Shadows

Use the .z-depth-X class within your elements to add material design shadow, where X is the elevation index of shadow.


Without shadow






HTML Code:

<p>Without shadow</p>
<div class="box-shadow-demo"></div>
<div class="box-shadow-demo z-depth-1"></div>
<div class="box-shadow-demo z-depth-2"></div>
<div class="box-shadow-demo z-depth-3"></div>
<div class="box-shadow-demo z-depth-4"></div>
<div class="box-shadow-demo z-depth-5"></div>