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
The order of ::first-of-type and ::before in the output is flipped in 3.0. I don't really have any opinion about which order is correct, but the change should at least be documented in the release notes (or fixed if unintentional).
What version of Tailwind CSS are you using?
For example: v3.0-alpha.2
What build tool (or framework if it abstracts the build tool) are you using?
Vite and PostCSS for work, but I have a repro using the playground
What version of Node.js are you using?
v16
What browser are you using?
N/A
What operating system are you using?
macOS
Reproduction URL
Change the version between 2.2 and 3.0 to see the different behavior
https://play.tailwindcss.com/dwCf2InE54
Describe your issue
The order of
::first-of-type
and::before
in the output is flipped in 3.0. I don't really have any opinion about which order is correct, but the change should at least be documented in the release notes (or fixed if unintentional).You have to switch the order to get the desired output in 3.0:
Also the linter whines when you do it the second way:
The text was updated successfully, but these errors were encountered: