From 95dd471929c5bf4a5c3b58bb74b8523edf7f9b4b Mon Sep 17 00:00:00 2001 From: wesbos Date: Wed, 18 Jan 2017 15:46:13 -0500 Subject: [PATCH] added some fullscreen CSS --- 11 - Custom Video Player/style.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/11 - Custom Video Player/style.css b/11 - Custom Video Player/style.css index c07581c..d098f66 100644 --- a/11 - Custom Video Player/style.css +++ b/11 - Custom Video Player/style.css @@ -26,6 +26,17 @@ body { overflow: hidden; } +/* This css is only applied when fullscreen is active. */ +.player:fullscreen { + max-width: none; + width: 100%; +} + +.player:-webkit-full-screen { + max-width: none; + width: 100%; +} + .player__video { width: 100%; } -- knotmirror 0.0.1