Skip to content

Commit 52498ba

Browse files
committed
Controls animation
1 parent 02a79a6 commit 52498ba

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/DefaultPlayer/DefaultPlayer.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,15 @@
2525
left: 0;
2626
height: 34px;
2727
display: flex;
28+
background-color: rgba(0,0,0,0.7);
29+
opacity: 0;
30+
transition: opacity 0.2s;
31+
}
32+
33+
.seek {
34+
flex-grow: 1;
35+
}
36+
37+
.component:hover .controls {
38+
opacity: 1;
2839
}

0 commit comments

Comments
 (0)