how to use pseudo-class :not with :nth-child
2018. 1. 11. 19:41
HTML , CSS
td:not(:nth-child(4n)){
text-align:center;
}
-> 4번째 td를 제외하고 td 태그에 적용됨
'HTML , CSS' 카테고리의 다른 글
line-height 속성 (0) | 2018.01.11 |
---|---|
overflow 속성 (0) | 2018.01.11 |
float< position absol, fixed 우선시 됨 (0) | 2018.01.11 |
box-sizing / background-size (0) | 2018.01.10 |
transition 속성 (0) | 2018.01.10 |