-
Notifications
You must be signed in to change notification settings - Fork 0
/
testfixed.html
96 lines (82 loc) · 1.96 KB
/
testfixed.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
html {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD/gAIDAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFpSURBVHhe7durEcJAAEVRgsXRCPVCRziQUAI/BdhgKCDXZSYn+oqds2/idhjHcTWz7/z67LabmR1qdbje13M705zPAyvcDixYQSCklgUrCITUsmAFgZBaFqwgEFLLghUEQmpZsIJASC0LVhAIqWXBCgIhtSxYQSCklgUrCITUsmAFgZBaFqwgEFLLghUEQmpZsIJASC0LVhAIqWXBCgIhtSxYQSCklgUrCITUsmAFgZBaFqwgEFLLghUEQmpZsIJASC0LVhAI6XB6vkO+4PT4+A5esk4cgJesE6H+mR988IIFKwiE1LJgBYGQWhasIBBSy4IVBEJqWbCCQEgtC1YQCKllwQoCIbUsWEEgpJYFKwiE1LJgBYGQWhasIBBSy4IVBEJqWbCCQEgtC1YQCKllwQoCIbUsWEEgpJYFKwiE1LJgBYGQWhasIBBSy4IVBEJqWbCCQEgtC1YQCKllwQoCIR32l1vIl53+AI/JGTUBmZViAAAAAElFTkSuQmCC) repeat local;
-ms-overflow-style: -ms-autohiding-scrollbar;
}
body {
margin: 0;
}
.makeitscroll {
width: 1px;
height: 1px;
position: absolute;
top: 4000px;
left: 4000px;
}
.fixed {
position: fixed;
width: 30px;
height: 30px;
background-color: #ddd;
}
.a {
top: 0;
left: 0;
}
.b {
top: 0;
right: 0;
}
.c {
bottom: 0;
left: 0;
}
.d {
bottom: 0;
right: 0;
}
.e {
top: calc(100% - 60px);
left: calc(100% - 60px);
}
.f {
width: 100%;
height: 100%;
border: 60px solid blue;
box-sizing: border-box;
opacity: .25;
}
.g {
top: 0;
bottom: 0;
left: 0;
right: 0;
width: auto;
height: auto;
border: 30px solid red;
box-sizing: border-box;
opacity: .25;
}
</style>
<script>
function handleLoad() {
}
document.addEventListener("DOMContentLoaded", handleLoad);
</script>
</head>
<body>
<div class="fixed f">f</div>
<div class="fixed g">g</div>
<div class="fixed a">a</div>
<div class="fixed b">b</div>
<div class="fixed c">c</div>
<div class="fixed d">d</div>
<div class="fixed e">e</div>
<div class="makeitscroll"></div>
</body>
</html>