tailwind hover1 [tailwind CSS] 4. 반응/상태 선택자 추가 방법(hover, focus, checked, disabled, etc.) tailwind에서 제공하는 반응/상태 선택자는 다음과 같다. Hover Focus Active Group-hover : 부모요소에 group 클래스 추가 후, 자식 요소에 선언 Group-focus : 부모요소에 group 클래스 추가 후, 자식 요소에 선언 Focus-within Focus-visible Motion-safe Motion-reduce Disabled Visited Checked First-child Last-child Odd-child Even-child 원하는 선택자가 없을 경우: [tailwind CSS] 3. 커스텀 선택자(클래스) 추가 방법, Adding variants tailwind.config.js 1. plugin을 불러와 선택자와 클래스명을 지정하고, tailwind .. 2021. 4. 18. 이전 1 다음