Sfoglia il codice sorgente

Unrestrain non-square video

master
Roderic Day 5 anni fa
parent
commit
c0f2923e51
1 ha cambiato i file con 9 aggiunte e 2 eliminazioni
  1. +9
    -2
      pico.css

+ 9
- 2
pico.css Vedi File

@@ -74,11 +74,18 @@ body {
}
.video-container video {
background-color: lightsteelblue;
object-fit: cover;
height: 100%;
width: 100%;
}
.video-container.square video {
object-fit: cover;
.video-container:not(.square) {
width: unset !important;
overflow: scroll;
}
.video-container:not(.square) video {
object-fit: unset;
height: unset;
width: unset;
}
.video-container.mirror video {
transform: scaleX(-1);

Loading…
Annulla
Salva