Explorar el Código

Equally-sized videos

master
Roderic Day hace 5 años
padre
commit
0e0b8f7a79
Se han modificado 1 ficheros con 11 adiciones y 2 borrados
  1. +11
    -2
      pico.css

+ 11
- 2
pico.css Ver fichero

@@ -51,11 +51,20 @@ body {
padding-left: var(--pad);
}
.video-container {
float: left;
display: inline-block;
position: relative;
height: 120px;
width: 120px;
}
video {
width: 120px;
background-color: black;
position: absolute;
top: 0;
left: 0;
z-index: -100;
object-fit: cover;
width: 100%;
height: 100%;
}
video.mirrored {
transform: scaleX(-1);

Cargando…
Cancelar
Guardar