Skip to main content

layers

Function layers 

Source
pub fn layers(level: u8) -> [BoxShadow; 2]
Expand description

Both layers of level (clamped to MAX_LEVEL), key first.

Level 0 is two transparent, zero-geometry entries: CSS pads none this way before interpolating shadow lists, so a transition to or from level 0 keeps matched entries.