заставка

This commit is contained in:
2021-08-04 15:18:53 +03:00
parent f5a18c1ab0
commit 1ca6848df3
2 changed files with 21 additions and 0 deletions

View File

@@ -16,6 +16,23 @@
height: 100vh; height: 100vh;
width: 100vw; width: 100vw;
} }
#заставка {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
background: #ffffff;
z-index: 100;
}
#заставка > img {
position: absolute;
top: 50%;
left: 50%;
margin-left: -320px;
margin-top: -240px;
}
#корень { #корень {
position: relative; position: relative;
} }
@@ -27,6 +44,10 @@
</style> </style>
</head> </head>
<body> <body>
<div id="заставка" onclick="document.getElementById('заставка').style.display = 'none';">
<img src="р/сцены/заставка.jpg">
</div>
<div id="корень"></div> <div id="корень"></div>
<div id="отладка"></div> <div id="отладка"></div>
<script src="100.мир.js"></script> <script src="100.мир.js"></script>

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB