forked from wesbos/JavaScript30
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
39 lines (38 loc) · 761 Bytes
/
style.css
File metadata and controls
39 lines (38 loc) · 761 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
body {
display:flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background:#4C4C4C url('https://unsplash.it/1500/900?image=1021');
background-size:cover;
font-family: sans-serif;
}
.wrapper {
width:850px;
display:flex;
}
video {
box-shadow:0 0 1px 3px rgba(0,0,0,0.1);
}
.speed {
background:#efefef;
flex:1;
display:flex;
align-items:flex-start;
margin:10px;
border-radius:50px;
box-shadow:0 0 1px 3px rgba(0,0,0,0.1);
overflow: hidden;
}
.speed-bar {
width:100%;
height:10px;
background:linear-gradient(-170deg, #2376ae 0%, #c16ecf 100%);
text-shadow:1px 1px 0 rgba(0,0,0,0.2);
display: flex;
align-items: center;
justify-content: center;
padding:2px;
color:white;
height:16.3%;
}