From d8b28a4ae8bad5b57eb5e8fee941eaf19083ff60 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 25 Mar 2017 19:53:31 +0100 Subject: Have video fill both width and height. --- style.scss | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/style.scss b/style.scss index cbd7eb3..11b6be5 100644 --- a/style.scss +++ b/style.scss @@ -6,3 +6,19 @@ #backlinks { display: none; } + +// fill width and height - with black edges as needed +.videocontainer { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: #000; + z-index: 999; +} +video { + display: block; + width: 100%; + height: 100%; +} -- cgit v1.2.3