-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
61 lines (49 loc) · 1005 Bytes
/
styles.css
File metadata and controls
61 lines (49 loc) · 1005 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
52
53
54
55
56
57
58
59
60
61
/* common ------------------------------------ */
body {
display: flex;
align-items: center;
justify-content: center;
width: 100vw;
height: 100vh;
margin: 0;
}
/* app --------------------------------------- */
#app {
border-radius: 5px;
overflow: hidden;
position: relative;
display: block;
width: 100%;
max-width: 960px;
}
#app::after {
content: '← rotate →';
font-family: sans-serif;
font-size: 15px;
letter-spacing: 2px;
text-transform: uppercase;
opacity: .5;
user-select: none;
display: block;
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
}
/* video ------------------------------------- */
video {
position: relative;
display: block;
width: 100%;
height: auto;
}
video:hover {
cursor: grab;
cursor: -moz-grab;
cursor: -webkit-grab;
}
video:active {
cursor: grabbing;
cursor: -moz-grabbing;
cursor: -webkit-grabbing;
}