Skip to content

Instantly share code, notes, and snippets.

View vasilisvg's full-sized avatar

Vasilis van Gemert vasilisvg

View GitHub Profile
@vasilisvg
vasilisvg / dabblet.css
Created April 18, 2012 09:03 — forked from LeaVerou/dabblet.css
Visually correct vertical centering with Flexbox + margin fallback
/**
* Visually correct vertical centering with Flexbox + margin fallback
* Lea Verou & David Storey
* Slight adjustment by Vasilis van Gemert
*/
html, body { height: 100%; }
body {
width: 100%; /* needed for FF */