Created
September 28, 2021 19:00
-
-
Save dustinleer/c8dcc424e6251d1797d590ebda264fe0 to your computer and use it in GitHub Desktop.
Full width outer container inside a fixed container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.full-width { | |
width: 100vw; | |
position: relative; | |
left: 50%; | |
right: 50%; | |
margin-left: -50vw; | |
margin-right: -50vw; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment