What are Pseudo-classes?// 슈도 클래스란?
A pseudo-class is used to define a special state of an element.// 슈도 클래스란? 엘리먼트의 특별한 상태를 정의하기 위해 사용된다.
For example, it can be used to:// 예를 들어
- Style an element when a user mouses over it //엘리먼트에 마우스를 올릴때, 스타일 변경
- Style visited and unvisited links differently //링크에 방문후 방문전 스타일 차이
- Style an element when it gets focus //엘리먼트가 초점을 가진경우 스타일 변경
반응형
'CSS' 카테고리의 다른 글
css3 properties by category (0) | 2023.08.27 |
---|