3 ms·
How do you style with pseudo selectors (e.g. :hover)?
by hanniabu 3y ago
How do you style with pseudo selectors (e.g. :hover)?
- dawnerd 3y agoYou 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.
- naasking 3y agohttps://tailwindcss.com/docs/hover-focus-and-other-states https://tailwindcss.com/docs/hover-focus-and-other-states