z-index1 HTML & CSS ํ์ฉ ํ๋ก์ ํธ_ ์นด๋์ ํ & ๋์คํ์ฑ ์ฝ๋ .container{ width: 500px; height: 500px; border: 1px solid #000; position: relative; } .box{ width: 100px; height: 130px; border: 1px solid #000; border-radius: 5px; position: absolute; top: 35%; left: 40%; } .btn{ width: 50px; height: 50px; border: 1px solid #000; } .box1{ background: crimson; z-index: 1; } .box2{ background: darkorange; z-index: 0; } .box3{ background:gold; z-index: 0; } .b.. 2022. 1. 28. ์ด์ 1 ๋ค์ ๋ฐ์ํ