diff options
Diffstat (limited to 'WebCore/css/fullscreen.css')
-rw-r--r-- | WebCore/css/fullscreen.css | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/WebCore/css/fullscreen.css b/WebCore/css/fullscreen.css new file mode 100644 index 0000000..ebf3a02 --- /dev/null +++ b/WebCore/css/fullscreen.css @@ -0,0 +1,27 @@ +:-webkit-full-screen { + position:fixed; + top:0; + left:0; + right:0; + bottom:0; +} + +:root:full-screen-document:not(:full-screen) { + overflow:hidden; +} + +video:-webkit-full-screen { + width: 100%; + height: 100% + image-fit: fill; +} + +img:-webkit-full-screen { + width: 100%; + height: 100%; + image-fit: fill; +} + +video:-webkit-full-page-media:-webkit-full-screen::-webkit-media-controls-panel { + bottom: 0px; +} |