oficiodesign / initial-css

MIT License
4 stars 1 forks source link

Add full-width beyond container helper #68

Open robsonsobral opened 4 years ago

robsonsobral commented 4 years ago

Original report by sobral (Bitbucket: sobral, GitHub: robsonsobral).


https://codepen.io/maddesigns/pen/rOMgpQ/

https://css-tricks.com/full-width-containers-limited-width-parents/

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