{ CSS snippets }

Wes Bos πŸ”₯

Wes Bos πŸ”₯ @wesbos

Another neat thing you can use CSS Grid for is managing full bleed and contained layouts. Very similar to max-width; margin: 0 auto; https://t.co/gcuEtBHTEi

CSS
Wes Bos πŸ”₯

Wes Bos πŸ”₯ @wesbos

πŸ”₯ You can set and use variables inside a CSS declaration. Handy for when you need the same value more than once! https://t.co/tjLV3h7Z8I

CSS
Wes Bos πŸ”₯

Wes Bos πŸ”₯ @wesbos

Bootstap 12 column grid in 5 lines of CSS. One of many ways to lay out of a page in CSS grid. You won’t be needing frameworks for layout much longer πŸ˜ƒ https://t.co/DlxeNesna1

CSS
Dave Rupert

Dave Rupert @davatron5000

TIL a `position: fixed` element (e.g. modal) in Chrome & Firefox behaves like `position: absolute` when parent has `will-change: transform`

CSS
CodePen.IO

CodePen.IO @CodePen

Need named grid lines in Sass? For now, you'll need to use a variable. $cols: "[foo] 1fr [bar] 1fr"; grid-template-columns: #%7B$cols%7D;

CSS