Comments (2)
Yeah unfortunately this is a limitation of the regex-based JS parser in v3 as mentioned in the linked comment. The good news is that the v4 parser handles this better and won't pick up -left-0
👍
Going to close this one since it's an intentional trade-off but will be better in the future!
from tailwindcss.
I just ran into this too. It looks like it's a known limitation: #9354 (comment)
from tailwindcss.
Related Issues (20)
- Classes are prefixed when using `has-*` variants with arbitrary values HOT 2
- Unable to set default light mode in Vercel portfolio template HOT 2
- Unable to add borderRadius in tailwind.config.js. Inside theme.extend property HOT 1
- Class detection in Ruby Template files
- error in an import (flattenColorPalette) HOT 1
- Compiler Memory Leak when (repeatedly) copying files on Win x64 HOT 3
- Generated css is not output from @tailwind directive HOT 1
- tailwind not compiling styles with nextjs custom servers
- Arbitrary value for `anchor-name` outputs as custom variable instead of identifier value HOT 3
- backdrop-blur-none still applies a blur HOT 2
- Uncontrolled resource consumption in braces - https://github.com/advisories/GHSA-grv7-fg5c-xmjg HOT 1
- [v4] Default values do not include CSS variables HOT 1
- addBase will not work with vanilla class names HOT 1
- `backdrop-blur-` does not work on webkit browsers (ie safari) HOT 1
- Could Tailwind be the best for Next.Js?
- visibility issues with some SVGs
- Compiled CSS being differently with different OS. HOT 1
- Invalid CSS generated for class like `[&>&]:before:XXX` HOT 3
- SyntaxError: Unexpected token '?' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tailwindcss.