Z-index is an inherently tricky thing, and maintaining z-index order in a complex layout is notoriously difficult. With different stacking orders and contexts, keeping track of them as their numbers increase can be hard — and once they start to spread across CSS files, forget about it! Because z-index can make or break a UI element’s visibility and usability, keeping your website’s UI in working o
![Sassy Z-Index Management For Complex Layouts — Smashing Magazine](https://cdn-ak-scissors.b.st-hatena.com/image/square/5d2e6e2cccd2d880816c0c891785b3194f112a9c/height=288;version=1;width=512/https%3A%2F%2Farchive.smashing.media%2Fassets%2F344dbf88-fdf9-42bb-adb4-46f01eedd629%2F0414f874-9b1e-4c42-b275-57eb0ed23ed7%2F02-behance-opt-500.jpg)