사용자 도구

사이트 도구


html:css:pseudoclass

문서의 이전 판입니다!


CSS Pseudo Class

부정 클래스(:not)

  • :not()
  • 다음 둘은 동일한 표현이 된다.
    li { color: #00F; }
    li:nth-child(odd) { color: #F00; }
    li:last-child { color: #00F; }
        ↓
    li { color: #00F; }
    li:nth-child(odd):not(:last-child) { color: #F00; }
html/css/pseudoclass.1345394011.txt.gz · 마지막으로 수정됨: 2012/08/20 01:33 저자 kwon37xi