移动端测试
This commit is contained in:
@ -0,0 +1,11 @@
|
||||
body { margin: 0;width: 100%;height: 100%; }
|
||||
html,canvas{width: 100%;height: 100%;}
|
||||
#unity-container { position: fixed;width: 100%;height: 100%;}
|
||||
#unity-container.unity-desktop { left: 50%; top: 50%; transform: translate(-50%, -50%) }
|
||||
#unity-container.unity-mobile { width: 100%; height: 100% }
|
||||
#unity-canvas { background: #231F20 }
|
||||
.unity-mobile #unity-canvas { width: 100%; height: 100% }
|
||||
#unity-loading-bar { background:url('bg.png');background-repeat: no-repeat;background-size: cover; width:100%;height:100%;}
|
||||
#unity-footer { position: relative }
|
||||
.unity-mobile #unity-footer { display: none }
|
||||
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }
|
Reference in New Issue
Block a user