Skip to content

Instantly share code, notes, and snippets.

View arr-ee's full-sized avatar

Max Barnash arr-ee

  • London, UK
  • 13:35 (UTC +01:00)
View GitHub Profile
@arr-ee
arr-ee / dabblet.css
Created May 15, 2012 13:35 — forked from LeaVerou/dabblet.css
Vertical centering with Flexbox + margin fallback
/**
* Vertical centering with Flexbox + margin fallback
* Lea Verou & David Storey
*/
html, body { height: 100%; }
body {
width: 100%; /* needed for FF */
margin: 0;