Logo
git commit -m 'Fix bug' --no-verify
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

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

Classname-hell Memes

Posts tagged with Classname-hell

Finally See Tailwind Classes Without Scrolling

Webdev Javascript Frontend React Typescript
8 months ago 469.2K views 0 shares
Finally See Tailwind Classes Without Scrolling
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

Samsung T7 Portable SSD 1TB Titan Gray, USB 3.2 Gen 2, Up to 1,050MB/s

Samsung T7 Portable SSD 1TB Titan Gray, USB 3.2 Gen 2, Up to 1,050MB/s

Affiliate
$229.91
It’s sad, but it’s true. That makes it sad

It’s sad, but it’s true. That makes it sad

Programming
88.2K views 3 years ago
Minimum skills required: PHP, C#, Scala, Ruby, JavaScript, Boostarap 4, CSS 5, Swift, Minimum 20 years experience. $10/hour

Minimum skills required: PHP, C#, Scala, Ruby, JavaScript, Boostarap 4, CSS 5, Swift, Minimum 20 years experience. $10/hour

Javascript
805.1K views 1 year ago