-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathestilo.css
62 lines (52 loc) · 942 Bytes
/
estilo.css
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
@import './buttons.css';
body {
background-color: #26b4bc;
font-family: Arial, Helvetica, sans-serif;
}
.wrapper {
max-inline-size: 900px;
margin: auto;
}
.player {
margin-block-start: 100px;
position: relative;
}
.player video {
inline-size: 100%;
aspect-ratio: 16/9;
vertical-align: middle;
object-fit: cover;
}
.player-title {
color: #222;
position: absolute;
inset-block-start: 20px;
inset-inline-start: 20px;
}
.player-actions {
position: absolute;
inset: 0;
display: flex;
justify-content: center;
align-items: center;
gap: 20px;
}
.player-progress {
position: absolute;
inset-block-end: 0;
inset-inline: 0;
display: flex;
padding: 10px;
}
.player-progress input {
flex: 1;
}
.player-overlay {
position: absolute;
inset: 0;
opacity: 0;
transition: 0.3s;
}
.player:hover .player-overlay {
opacity: 1;
}