-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
What version of Tailwind CSS are you using?
4.1.13
What build tool (or framework if it abstracts the build tool) are you using?
vite: 7.1.5
@tailwindcss/vite: 4.1.13
What version of Node.js are you using?
22
What browser are you using?
Arc
Version 1.110.0 (67696)
Chromium Engine Version 139.0.7258.156
What operating system are you using?
MacOS 15.6.1
Reproduction URL
Tailwind v3: https://play.tailwindcss.com/GIiEGJMv62?file=config
Tailwind v4: https://play.tailwindcss.com/nMNvsPlHa2?file=css
Describe your issue
We use a custom grid template columns with named grid lines for example
--grid-template-columns-content: [container-start content-start]
repeat(12, [column-start] minmax(0, 100px) [column-end]) [content-end
container-end];
We then setup utility classes for each named grid line so was can specifically say col-start-col-4 col-end-col-8
In V4 creating a --grid-column-end-col-8
variable seems to be generating the grid-column
AND the grid-column-end
css property, whilst V3 as we use gridColumnEnd
JS property just creates the grid-column-end
css property.