News for hackers. Stuff that matters.
Re:Play with TailwindCSS in the Browser by jakelazaroff on Friday June 10, 2022 @10:43AM (#31694911)
Okay, but now we’re back to Tailwind being back to syntactic sugar for styles (you can definitely put media queries in a style tag).

I disagree with your preference; all the classnames are not easily parseable and obscure the markup, and I much prefer the CSS media query syntax. But that’s, like, just my opinion, man. If you like it better, don’t let me stop you!

Re:Play with TailwindCSS in the Browser by skttl on Friday June 10, 2022 @11:31AM (#31695555)
>(you can definitely put media queries in a style tag)

How?

Re:Play with TailwindCSS in the Browser by jakelazaroff on Friday June 10, 2022 @11:47AM (#31695781)

    <style>@media (min-width: 100px) {}</style>