Replies: 1 comment 1 reply
-
I'm sorry to hear you're frustrated by the removal of the If you need to support older browsers, you could consider:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
💢 Why Was
bg-opacity-*
Removed in Tailwind v4? Bring Back the Basics!👴 The Old Way Worked. Period.
The old
bg-opacity-50
system:--tw-bg-opacity
Now we get:
Which:
All to save… what? One line of CSS? Was
rgba(var(--tw-bg-opacity))
too scary now?💡 You Could've Just Kept Both
Tailwind has utilities like
text-decoration-skip-ink
,sr-only
, andaccent-color
. Why wasbg-opacity-*
, one of the most basic and widely used utilities, the one chosen for removal?At the very least, can we get:
bg-opacity-*
🔥 Devs in the Real World
Not all of us are building greenfield apps with evergreen browser audiences. Some of us:
😤 TL;DR
bg-opacity-*
feels like a design-over-users decisionBeta Was this translation helpful? Give feedback.
All reactions