GRRR Block mixin with CSS Grid
At GRRR we have a block mixin that ensures an element has a max-width
and will always be in the center of the screen. Sometimes, you want something to grow on the "overflow" on the left and right size of the container. So if the page is 1200px and the container is max 600px wide, one element is 600px wide and the other is 300px wide. See image.
With the GRRR container (no overflow)
Hello
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Consectetur voluptatibus explicabo eligendi iusto esse! Eius fuga iste, ratione molestiae quae cupiditate cumque vero repellat ad! Ipsa hic perspiciatis accusamus modi?
With CSS-grid (with overflow)
Hello
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Consectetur voluptatibus explicabo eligendi iusto esse! Eius fuga iste, ratione molestiae quae cupiditate cumque vero repellat ad! Ipsa hic perspiciatis accusamus modi?
Hello
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Consectetur voluptatibus explicabo eligendi iusto esse! Eius fuga iste, ratione molestiae quae cupiditate cumque vero repellat ad! Ipsa hic perspiciatis accusamus modi?