This website works better with JavaScript.
首頁
探索
說明
登入
KaiSD
/
Test-rep
關註
1
收藏
0
複製
0
程式碼
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
horizontal screen (try2)
master
KaiSD
4 年之前
父節點
8664cc377d
當前提交
4e592a4e56
共有
3 個文件被更改
,包括
13 次插入
和
5 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
mjprot/index.html
+0
-4
mjprot/manifest.json
+12
-0
mjprot/screen.css
+ 1
- 1
mjprot/index.html
查看文件
@@ -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
查看文件
@@ -1,4 +0,0 @@
{
"display": "standalone",
"orientation": "landscape"
}
+ 12
- 0
mjprot/screen.css
查看文件
@@ -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;
}
}
Write
Preview
Loading…
取消
儲存