[CSS] 의사클래스 - first-child, last-child, first-of-type, last-of-type
안녕하세요. 명월입니다. 이 글은 CSS에서의 의사클래스(first-child, last-child, first-of-type, last-of-type)에 대한 글입니다.first-child와 first-of-type 에 대해서는 nth-child(1)와 nth-of-type(1)과 같은 의미의 의사 클래스입니다.의사클래스는 오브젝트의 속성이나 태그를 이용한 선택이이 아닌 html의 배치에 따른 선택자이기 다른 라이브러리나 javascript로 동적으로 작성된 오브젝트에 관해 사용되는 선택자이기도 합니다. 링크 - [CSS] 의사클래스 - nth-child, nth-of-type, nth-last-child, nth-last-of-type 1 2 3 4 위 예제를 보면 table태그에 제가 테두리(bor..