UX Guideline: Layout — Stacking Context. Platform: Web. Description: New stacking contexts reset z-index. Do: Understand what creates new stacking context. Don't: Expect z-index to work across contexts. Good Example: Parent with z-index isolates children. Bad Example: z-index: 9999 not working. Severity: Medium.