diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-03-25 19:53:31 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-03-25 19:54:29 +0100 |
commit | d8b28a4ae8bad5b57eb5e8fee941eaf19083ff60 (patch) | |
tree | 74ad9de9578fc96fa65c4c24f486a7473aa12f3e | |
parent | b6c865429be50f3b3852124d0d090624ceee9533 (diff) |
Have video fill both width and height.
-rw-r--r-- | style.scss | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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%; +} |