Next.js Discord

Discord Forum

Tailwind : selector does not work.

Answered
2xk posted this in #help-forum
Open in Discord
2xkOP
just started a new project, did same configuration as always but have problem with tailwind. Basically ':' selector does not work, meaning cant use :hover, max-md: and so on
Answered by 2xk
it was the missing bracket
View full answer

9 Replies

@2xk just started a new project, did same configuration as always but have problem with tailwind. Basically ':' selector does not work, meaning cant use :hover, max-md: and so on
please make a [minimal reproduction repository](https://l.joulev.dev/mrr) so we can help debug. this is probably a tailwind config bug in your code
2xkOP
I follow basic setup from shad cn
it identifies classes as well
i found a fix
the plex sans is what was causing error, i should have unpacked the fontFamily sans next to it. Was just mindlessly copy pasting fonts
ah its actually not this
2xkOP
it was the missing bracket
Answer
2xkOP
sorry for you time :areyouserious: