{ CSS snippets }

Achraf Kassioui

Achraf Kassioui @achrafkassioui

CSS tip: the <main> element isn't recognized as a default block level element in Internet Explorer. Set it to display: block in CSS so IE can display it correctly.

Wes Bos ?

Wes Bos ? @wesbos

? CSS Variables are perfect for overwriting parts of a definition that can’t be broken up like text-shadows, transforms or gradients https://t.co/6vKDLNgg1T

CSS
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

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