Y
Hacker News
new
|
ask
|
show
|
jobs
by
hanniabu
1038 days ago
How do you style with pseudo selectors (e.g. :hover)?
2 comments
naasking
1037 days ago
https://tailwindcss.com/docs/hover-focus-and-other-states
link
dawnerd
1038 days ago
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.
link