Shadow
Notation#
Shadow utility classes can be defined using the format -s[-{breakpoint}]--{size}.
{size}#
0- use to setbox-shadowtonone1- use to setbox-shadowto1px2- use to setbox-shadowto4px3- use to setbox-shadowto6px4- use to setbox-shadowto8px5- use to setbox-shadowto12px
{breakpoint}#
Optionally, include -{breakpoint} to apply the utility behaviour to some breakpoints. As a mobile-first library, any applying to smaller breakpoints will also modify larger ones unless another class overrides this behaviour.
- blank - leave blank to apply 
shadowto all breakpoints. sm- use to applyshadowto sm and larger breakpoints.md- use to applyshadowto md and larger breakpoints.lg- use to applyshadowto lg and larger breakpoints.xl- use to applyshadowto xl breakpoints.
Examples#
SASS#
Chi defines shadows with Saas maps. The following example will render a shadow equivalent to -s--1 / 1px.