Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hanniabu
on Aug 16, 2023
|
parent
|
context
|
favorite
| on:
Why Tailwind CSS Won
How do you style with pseudo selectors (e.g. :hover)?
naasking
on Aug 16, 2023
|
next
[–]
https://tailwindcss.com/docs/hover-focus-and-other-states
dawnerd
on Aug 16, 2023
|
prev
[–]
You prefix the class with hover: or focus: etc. very powerful, although this is where a lot of people start to find it gross especially when you add breakpoints into the mix.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: