заставка
This commit is contained in:
21
index.html
21
index.html
@@ -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>
|
||||||
|
|||||||
BIN
р/сцены/заставка.jpg
Normal file
BIN
р/сцены/заставка.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
Reference in New Issue
Block a user