Safe Area Insets in CSS
Using `safe-area-inset-*` values to keep content clear of notches, rounded corners, and home indicators.
Content tagged safe-area-inset
Tutorial:Padding Around the Notch with
env()Pad fixed UI around notches with env().The env() CSS function reads environment variables the browser defines outside your stylesheet — most commonly the four safe-area-inset-* values — letting fixed/sticky content pad itself around a device's notch, home indicator, or rounded corners without hardcoding per-device pixel values.