Layout· 10 of 13

10 of 13

Define stacking order within each context

Give overlay roles an intentional order and identify the stacking context that contains them. A large z-index on a child cannot lift it above a higher sibling context or the browser’s top layer.

Do
Don’t

Doz-index: 9999 outside the transform, above Activity

Don’tz-index: 9999 inside the transform, behind Activity

Before you ship

  • Which context owns each competing element?
  • Does the visual order match focus and pointer behavior?
  • Can you select every Export item with the menu open over Activity?

Next

Keep scroll and focus targets clear of sticky headersLayout · 11 of 13J