From 5ad7a1a1c8a2aa05a6b26ea1bea9078232805700 Mon Sep 17 00:00:00 2001 From: Steve Orvell Date: Thu, 29 May 2014 16:06:03 -0700 Subject: [PATCH] Add fit and fullbleed layout helpers --- layout.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/layout.html b/layout.html index 1bd52c7..4e1284b 100644 --- a/layout.html +++ b/layout.html @@ -240,6 +240,23 @@ display: none; } +html /deep/ [relative] { + position: relative; +} + +html /deep/ [fit] { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; +} + +body[fullbleed] { + margin: 0; + height: 100vh; +} + /******************************* Other *******************************/