Replies: 3 comments 1 reply
-
This does sound useful! I haven't tried this yet, but you should be able to add this to the module.exports = {
theme: {
extend: {
gridRow: {
'span-full': '1 / -1',
},
gridColumn: {
'span-full': '1 / -1',
},
},
},
} Though adding as a default utility would be nice. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I was just needing this. I use this class all the time and was surprised that it wasn't included. Turns out that I have had it in my extend functions this whole time. What Nick posted works really well for now. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Nice idea! Would accept a PR for this one 👍 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Something that's very common for when doing CSS grid layouts is having a row or column that should always span the entire grid.
This is easily accomplished via CSS with:
So I'd love to have that as a tailwind utility. I think
col-span-full
androw-span-full
are good options for the naming.Beta Was this translation helpful? Give feedback.
All reactions