Replies: 1 comment 1 reply
-
The associated issue was closed as 'completed'. Does this functionality already exist, or is it deemed as something folks 'should know' somehow? Sorry if I missed something. |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
After spending a few days searching, I found this elegant solution to 'breaking out' of whatever container/columns you might be constrained by, and creating a 'full bleed' effect.
https://piccalil.li/blog/creating-a-full-bleed-css-utility/
It's just:
and by making 50vw smaller (and setting your breakout image/block to 95vw or whatever), you can create variable-width, centered bleeds!
Wouldn't this be a nice addition to TailwindCSS? This seems useful enough to make it broadly available. (Or less nice would just be to put it in the docs/examples somewhere.)
Beta Was this translation helpful? Give feedback.
All reactions