Menu
Ship my machine, not my code.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
All Categories
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
Utility-first Memes
Posts tagged with Utility-first
Finally See Tailwind Classes Without Scrolling
Webdev
Javascript
Frontend
React
Typescript
9 months ago
501.5K views
1 shares
When your Tailwind className attribute becomes so absurdly long that you need an ultra-wide monitor just to see where it ends. Someone really went out and bought a curved super-ultrawide display just to avoid horizontal scrolling through their className="flex items-center justify-center bg-gradient-to-r from-blue-500 via-purple-500 to-pink-500 rounded-lg shadow-xl hover:shadow-2xl transition-all duration-300 ease-in-out transform hover:scale-105 px-4 py-2 md:px-6 md:py-3 lg:px-8 lg:py-4..." The irony? Tailwind was supposed to make styling faster and more maintainable. Instead, we've traded CSS files for className strings that look like they're trying to break the Guinness World Record for longest HTML attribute. But hey, at least you're not context-switching between files anymore—you're just context-switching between monitor edges. Real talk though: this is why Prettier's className sorting plugin exists. That and the @apply directive, but we all know you're not using those because "utility-first" means committing to the chaos.
Today's picks
Where's The Love
Programming
149.5M views
14 days ago
Let Me Know If You Need Anything Else
Programming
300.2K views
1 year ago
Stack Overflow Definition Shirt Programmer Humor T-Shirt
Affiliate
$17.99