Elevations
Elevations determine the stacking order of items, the z-index.
import Elevations from '@dynatrace/strato-design-tokens/elevations';
Sample | Token Name | Value | Description |
---|---|---|---|
Elevations.Default | 1 | Use as the default layer, for elements that do not need to be explicitly layered on top of other elements. | |
Elevations.Sticky | 10 | Use for elements that are pinned to a certain location while also staying on top of other content. | |
Elevations.Overlay | 20 | Use for elements that appear on top of all other content on the page. | |
Elevations.Notification | 1999999999 | Use for notifications that should always be visible on top of other content. |
Still have questions?
Find answers in the Dynatrace Community