1
0
mirror of https://github.com/Pathduck/pathduck.github.io.git synced 2025-12-29 11:45:20 -05:00
Files
2025-06-01 11:43:10 +02:00

20 lines
480 B
HTML
Executable File

<html>
<head>
<title>Media-Fullscreen Test</title>
<style>body {color: white; background: darkslategray;} a {color: deepskyblue;}</style>
<style>
div#test { background: red; width: 200px; height: 200px; }
@media (display-mode: fullscreen) {
div#test {background: blue; width: 200px; height: 200px; }
}
</style>
</head>
<body>
<div id="test">
</div>
<button onclick="document.body.requestFullscreen();">
go fullscreen
</button>
</body>
</html>