Elevation
Elevation is used to indicate elements which are stacked on top of other elements in the UI. Use these CSS Custom Properties to create visually consistent elevation styles.
Importing
Import the custom properties before using them in your style sheets.
import '@vaadin/vaadin-lumo-styles/style';
Box Shadow
Different levels of elevation are applied using box-shadow.
Description | CSS Custom Property |
---|---|
Extra Large | --lumo-box-shadow-xl: |
Large | --lumo-box-shadow-l: |
Medium | --lumo-box-shadow-m: |
Small | --lumo-box-shadow-s: |
Extra Small | --lumo-box-shadow-xs: |