hachesilva
4/30/2018 - 7:25 PM

"Break out" of a parent's containing width to take the full screen of a page w/this nice utility class

"Break out" of a parent's containing width to take the full screen of a page w/this nice utility class

// Source: https://twitter.com/Una/status/951519740840873984

.full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}