[CSS] 의사클래스 - only-child, only-of-type, empty, empty, root
안녕하세요. 명월입니다. 이 글은 CSS에서의 의사클래스(only-child, only-of-type, empty, empty, root)에 대한 글입니다. 이전에 의사클래스의 선택자를 설명한 적이 있습니다.링크 - [CSS] 의사클래스 - nth-child, nth-of-type, nth-last-child, nth-last-of-type링크 - [CSS] 의사클래스 - first-child, last-child, first-of-type, last-of-type 의사클래스 선택자는 태그(요소)의 위치에 따른 선택이 되는 것입니다만 이 글에서의 의사클래스는 유일한 요소인지, 존재하지 않는 지에 대한 선택자입니다. This is p tag. This is span tag. This is p tag. Th..