полный экран
This commit is contained in:
30
К/index.html
30
К/index.html
@@ -5,30 +5,20 @@
|
||||
<title>КОЛОБОК 0.1.0</title>
|
||||
<script src="https://cdn.jsdelivr.net/npm/phaser@3.54.0/dist/phaser.min.js"></script>
|
||||
<style>
|
||||
html, body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
#родитель
|
||||
{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
/*
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
*/
|
||||
background-color: red;
|
||||
}
|
||||
html
|
||||
{
|
||||
background-color: blue;
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
}
|
||||
body
|
||||
{
|
||||
background-color: green;
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user