forked from CN-3211/cesium-web-vue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.html
43 lines (43 loc) · 864 Bytes
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!--
* @Date: 2021-06-02 21:16:45
* @LastEditors: huangzh873
* @LastEditTime: 2021-06-02 21:38:35
* @FilePath: \cesium-web-vue\test.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.aaa {
width: 100%;
height: 100%;
background-color: red;
position: fixed;
}
.bbb {
width: 100%;
height: 80px;
background-color: yellow;
position: absolute;
top: 0;
left: 0;
}
.ccc {
width: 100%;
height: 100%;
padding-top: 80px;
background-color: green;
}
</style>
</head>
<body>
<div class="aaa">
<div class="bbb"></div>
<div class="ccc"></div>
</div>
</body>
</html>