DEV Community

Discussion on: Tailwind CSS: My experience in 2022

Collapse
 
foxonthe1 profile image
Fox Scarlett

If you have to use 100 (or whatever) media queries, maybe your CSS is inefficient? Or even more likely, the design isn't good (won't break cleanly between devices so you need different breakpoints on every element)? I say this as someone who was doing this constantly in my first dev job until I realized (after 2+ years) that having a media query every 50 px is a sure sign that your CSS and the design both suck :D Having said that, sometimes you gotta do what you gotta do.

Collapse
 
nicklane profile image
Nicholas Lane

Well i was going for hyperbole in that comment...
But you aren't too far off base! I am sure I've written a lot of bad css haha.

Thread Thread
 
foxonthe1 profile image
Fox Scarlett

We all have! 😅