Quellcode durchsuchen

horizontal screen (try2)

master
KaiSD vor 3 Jahren
Ursprung
Commit
4e592a4e56
3 geänderte Dateien mit 13 neuen und 5 gelöschten Zeilen
  1. +1
    -1
      mjprot/index.html
  2. +0
    -4
      mjprot/manifest.json
  3. +12
    -0
      mjprot/screen.css

+ 1
- 1
mjprot/index.html Datei anzeigen

@@ -112,7 +112,7 @@
visibility: visible;
}
</style>
<link rel="manifest" href="manifest.json">
<link rel="stylesheet" href="screen.css">
</head>
<body>
<canvas id='canvas'>


+ 0
- 4
mjprot/manifest.json Datei anzeigen

@@ -1,4 +0,0 @@
{
"display": "standalone",
"orientation": "landscape"
}

+ 12
- 0
mjprot/screen.css Datei anzeigen

@@ -0,0 +1,12 @@
@media screen and (orientation: portrait) {
html {
transform: rotate(-90deg);
transform-origin: left top;
width: 100vh;
height: 100vw;
overflow-x: hidden;
position: absolute;
top: 100%;
left: 0;
}
}

Laden…
Abbrechen
Speichern