Shadow • Natura11y
Green and white leaf plant

Photo by Sergei A

Shadow

Introduction

Apply a beautiful box shadow to any block-level element.


Box Shadow Utilities

Natura11y's box shadow utilities come in three sizes. Each size is represented by a number: 1 for small, 2 for medium, and 3 for large.

.box-shadow-1

.box-shadow-2

.box-shadow-3


        <div class="box-shadow-1">...</div>
        <div class="box-shadow-2">...</div>
        <div class="box-shadow-3">...</div>
    
Figure 1

Breakpoint Modifiers

Box shadow utilities accept breakpoint modifiers.


        <!-- With breakpoint modifier -->
        
        <div class="box-shadow-1--lg 👈">...</div>
    
Figure 2

Text Shadow Utility

Add a soft and elegant text shadow to your typography with Natura11y's text shadow utility.

Sample Text with Shadow

        <span class="text-shadow">Your text here</span>
    
Figure 3

Breakpoint Modifiers

Text shadow utility also accepts breakpoint modifiers.


        <!-- With breakpoint modifier -->
        <span class="text-shadow--lg 👈">Your text here with large shadow at large breakpoint</span>
    
Figure 4