📚 Z-Index = Stack Order Elements overlap. Z-index controls stacking order. Modals, tooltips, dropdowns — proper layering. 📝 Z-Index Basics /* Basic usage */ .modal { z-index: 1000; position: fixed; } .tooltip { z-index: 100; position: absolute; } .dropdown { z-index: 50; position: relative; } /* Stacking context */ .parent { position: relative; z-index: 1; […]