-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathscroll-latency.css
More file actions
51 lines (45 loc) · 802 Bytes
/
scroll-latency.css
File metadata and controls
51 lines (45 loc) · 802 Bytes
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
html, body {
margin: 0;
}
#content {
height: 5000px;
background: linear-gradient(white blue);
padding: 8px;
}
#console {
position: fixed;
left: 0;
right: 0;
bottom: 0;
height: 300px;
border: 1px solid black;
margin: 5px;
padding: 5px;
background-color: lightblue;
box-sizing: border-box;
/* Ensure the fixed position element doesn't break threaded scrolling */
will-change: transform;
}
#log {
position: absolute;
bottom: 10px;
height: 50%;
left: 10px;
right: 10px;
background-color:white;
overflow: scroll;
border: 1px solid black;
box-sizing: padding-box;
}
.grey {
color: grey;
}
input[type=number] {
width: 50px;
}
#spinner {
position: absolute;
right: 30px;
top: 50px;
color: green;
}