-
Notifications
You must be signed in to change notification settings - Fork 774
/
screenshot.html
73 lines (66 loc) · 1.59 KB
/
screenshot.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<title>screenshot</title>
<style>
#padding-border {
border: 2px solid blue;
background: green;
width: 50px;
height: 50px;
}
#larger-than-viewport {
border: 1px solid blue;
width: 600px;
height: 600px;
margin-left: 50px;
}
#above {
border: 2px solid blue;
background: red;
height: 1500px;
}
#outside-viewport {
border: 2px solid blue;
background: green;
width: 50px;
height: 50px;
}
#rotated {
position: absolute;
top: 100px;
right: 100px;
width: 100px;
height: 100px;
background: green;
transform: rotateZ(200deg);
}
#fractional-dimensions {
width: 48.51px;
height: 19.8px;
border: 1px solid black;
}
#fractional-offset {
position: absolute;
top: 10.3px;
left: 200.4px;
width: 50.3px;
height: 20.2px;
border: 1px solid black;
}
::-webkit-scrollbar {
display: none;
}
</style>
</head>
<body>
<div id="padding-border"></div>
<div id="larger-than-viewport"></div>
<div id="above"></div>
<div id="outside-viewport"></div>
<div id="rotated"></div>
<div id="fractional-dimensions"></div>
<div id="fractional-offset" ></div>
</body>
</html>