Skip to content

Full width image #498

Answered by shin-sforzando
simonspa asked this question in Q&A
Mar 8, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

I had the same problem, I created an original shortcode.
https://github.com/sforzando/sfz.dev/blob/main/layouts/shortcodes/figureWidthFull.html

You may not necessarily need to create a shortcode.
Since w-full is 100% for the parent, it would be better to use w-screen, which is 100vw.

https://tailwindcss.com/docs/width

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@simonspa
Comment options

Answer selected by simonspa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants