-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyles.module.css
More file actions
36 lines (34 loc) · 1.35 KB
/
styles.module.css
File metadata and controls
36 lines (34 loc) · 1.35 KB
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
.videowrapper {
display: inline-block;
position: relative;
}
.video {
outline: none;
}
.videowrapper:hover .playbutton {
visibility: visible;
opacity: 1;
}
.playbutton {
width: 88px;
height: 88px;
background-repeat: no-repeat;
background-position: 50%;
background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' fill='%23fff'%3E%3Cpath fill-rule='evenodd' d='M44 88C19.738 88 0 68.262 0 44S19.738 0 44 0s44 19.738 44 44-19.738 44-44 44zm0-85C21.393 3 3 21.393 3 44c0 22.608 18.393 41 41 41s41-18.392 41-41C85 21.393 66.607 3 44 3zm16.063 43.898L39.629 60.741a3.496 3.496 0 0 1-3.604.194 3.492 3.492 0 0 1-1.859-3.092V30.158c0-1.299.712-2.483 1.859-3.092a3.487 3.487 0 0 1 3.604.194l20.433 13.843a3.497 3.497 0 0 1 .001 5.795zm-1.683-3.311L37.946 29.744a.49.49 0 0 0-.276-.09.51.51 0 0 0-.239.062.483.483 0 0 0-.265.442v27.685c0 .262.166.389.265.442.1.053.299.118.515-.028L58.38 44.414A.489.489 0 0 0 58.6 44a.49.49 0 0 0-.22-.413z'/%3E%3C/svg%3E") no-repeat;
border: none;
display: block;
position: absolute;
top: 50%;
left: 50%;
padding: 0;
cursor: pointer;
opacity: 0;
transition: all .4s;
transform: translate(-50%, -50%);
outline: none;
visibility: hidden;
}
.hide {
visibility: hidden!important;
opacity: 0!important;
}