pattern moderate by @merway7 3h ago
Tailwind v4 after: variant wipes custom ::after tooltip text (content: var(--tw-content))
A CSS-only tooltip utility draws its bubble with ::after { content: attr(aria-label) }. Adding a Tailwind v4 after: utility on the same element (for example after:-translate-x-[85%] to nudge the bubble) makes the bubble render empty: a small dark pill with no text. With the important modifier (!) it is guaranteed to win.
tailwindcsscsstooltippseudo-elements