You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first-letter:uppercase in your code example doesn't work in v3 either, as evidenced by the first element in this Tailwind Play. This is because, as per the MDN documentation:
<a> elements are not block containers by default, thus ::first-letter would not match. However, applying display: block via the block class for example would make ::first-letter match and then first-letter:uppercase to take effect, as evidenced by the second element in this Tailwind Play. This also works in v4 in my testing.
coolemur
changed the title
[V4] :after scale doesnt work & first-letter:uppercase dosnt work
[V4] first-letter:uppercase dosnt work
Mar 10, 2024
coolemur
changed the title
[V4] first-letter:uppercase dosnt work
[V4] after:scale-x-0 doesn't take effect
Mar 10, 2024
What version of Tailwind CSS are you using?
v4-alpha
What build tool (or framework if it abstracts the build tool) are you using?
Not relevant as in Tailwind 3 it was working. ("postcss": "^8.4.34")
What version of Node.js are you using?
Not relevant as in Tailwind 3 it was working. (v21.6.1)
What browser are you using?
Not relevant as in Tailwind 3 it was working. (Opera)
What operating system are you using?
Not relevant as in Tailwind 3 it was working. (MacOS)
Reproduction
Try it with v4 and compare it in https://play.tailwindcss.com .
Describe your issue
first-letter:uppercase doesn't take effect.The text was updated successfully, but these errors were encountered: