-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Description
What version of Tailwind CSS are you using?
v4.0.3
What build tool (or framework if it abstracts the build tool) are you using?
Vite 5.4.11
What version of Node.js are you using?
v20.9.0
What browser are you using?
Chrome (Version 109.0.5414.119)
What operating system are you using?
Ubuntu
Describe your issue
While using tailwind css on older browser, especially on chrome 109 or below versions, the breakpoints like md, sm are not working as intended.
.sm:col-span-12 {
@media (width >= 40rem) {: ;
grid-column: span 12 / span 12;
}: ;
}
above is what's being shown in the developer's inspect mode.
it is adding semi-colon after each line while parsing in the browser, making it invalid property.
On newer version it is being parsed properly and works fine.
.sm:col-span-12 {
@media (width >= 40rem) {
grid-column: span 12 / span 12;
}
}
So, is there any way fix the above issue for older browsers?