z-index를 크게 줬는데도 요소가 위로 올라오지 않을 때가 있습니다.대부분의 원인은 z-index 자체가 아니라 **stacking context(쌓임 맥락)**나 포지셔닝 문제입니다. 아래 5가지를 순서대로 확인하면 문제를 빠르게 해결할 수 있습니다.1️⃣ position 확인 — static이면 z-index가 무시된다z-index가 동작하려면 요소에 position이 static(기본값)이면 안 됩니다. relative, absolute, fixed, sticky 중 하나를 설정해야 합니다.Box 1Box 2해결: .box1에 position 추가.box1 { position: relative; /* 또는 absolute/fixed/sticky */ z-index: 100;}2️⃣ 부모 요소..