타쿠꺼

z-index 본문

CSS/Reference

z-index

kimtaku 2016. 5. 20. 02:27

z-index는 엘리먼트들의 z축을 설정한다. 높은 값이 낮은 값을 가려버린다.

여기서 중요한 점은, z-index는 position이 static이면 안 된다. relative, absolute로 특정 지어져야 작동한다.


'CSS > Reference' 카테고리의 다른 글

background  (0) 2016.06.03
:nth-child, :nth-of-type  (0) 2016.06.01
animation  (0) 2016.05.22
font  (0) 2016.05.22
display  (0) 2016.05.20
Comments