Skip to content

Instantly share code, notes, and snippets.

@moaazsidat
Created January 11, 2018 20:01
Show Gist options
  • Save moaazsidat/6ae3345c207d915b26cc12d704daef45 to your computer and use it in GitHub Desktop.
Save moaazsidat/6ae3345c207d915b26cc12d704daef45 to your computer and use it in GitHub Desktop.
"Break out" of a parent's containing width to take the full screen of a page w/this nice utility class:
```
.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