Added video previews when hovering over a file card

This commit is contained in:
Isaac Abadi
2021-08-25 23:36:31 -06:00
parent cca76dd248
commit 6639305771
3 changed files with 49 additions and 2 deletions

View File

@@ -51,6 +51,30 @@
object-fit: cover;
}
.video-large {
width: 300px;
height: 167.5px;
object-fit: cover;
position: absolute;
top: 0px;
}
.video {
width: 200px;
height: 112.5px;
object-fit: cover;
position: absolute;
top: 0px;
}
.video-small {
width: 150px;
height: 84.5px;
object-fit: cover;
position: absolute;
top: 0px;
}
.example-full-width-height {
width: 100%;
height: 100%