Breaking Out With CSS Grid Layout
►https://cloudfour.com/thinks/breaking-out-with-css-grid-layout
A while back I shared a simple technique for allowing certain elements to fill the full viewport width from within a fixed-width container
As concise as this technique was, it had one big, dumb caveat: On some platforms, you’d see a horizontal scrollbar unless you set overflow-x
to hidden
on the body
element.
It’s now a year later and every modern browser supports (or will soon support) CSS Grid Layout (hooray!!). I thought it might be fun to reexamine this problem with a fancy set of modern layout tools at our disposal.
Ça pourrait intéresser @fil pour certains éléments de #visionscarto ;)