UNPKG

am-depth

Version:

Assign depths based on Google's Material Design

13 lines (11 loc) 318 B
# Usage Material Design's depth is created by using pseudoelements. To give en element depth, just: ``` <div am-depth="0">Zero Depth</div> <div am-depth="1">One Depth</div> <div am-depth="2">Two Depth</div> <div am-depth="3">Three Depth</div> <div am-depth="4">Four Depth</div> <div am-depth="5">Five Depth</div> ```