728x90
반응형
복습
label 태그로 input을 묶어 줄 수 있는데 label로 인접하여 묶어 줄 필요없이 for=id를 사용하면 간격을 두고도 라벨 작용을 할 수 있다.
.child > u:nth-child(odd) { background-color: coral; } odd,even
.type > u:nth-of-type(2n) { background-color: coral; } (계산식)
p::first-line { font-size: 1.4rem; }
p::first-letter { background-color: aqua; }

box-sizing: content-box; 크기를 내용 중심으로 결정
box-sizing: border-box; 크기를 테두리까지 포함한다.
백그라운드


float과 clear both는 같이 다닌다.
display:none은 원래 있던 공간까지 지움
visibility:hidden; 단순 안보이게 한다.ㅜㅜㅜㅜㅜㅜㅜㅜㅜ
margin 0 auto : 한개를 부모의 중앙에 위치시킨다.
728x90
반응형