From a6323c672b3e993f1c30b410958921cf26e9c327 Mon Sep 17 00:00:00 2001 From: Caesar Schinas Date: Fri, 30 Dec 2016 12:37:49 -0300 Subject: [PATCH] Vertically centre content with flexbox --- style.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/style.css b/style.css index 546a69a..133fbbe 100644 --- a/style.css +++ b/style.css @@ -1,6 +1,11 @@ html { background: #eee; font-family: "Gentium Plus", "Source Sans Pro", sans-serif; + min-height: 80%; + display: flex; + flex-flow: column; + align-items: center; + justify-content: center; } body { max-width: 30em;