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%; }