소스 검색

Equally-sized videos

master
Roderic Day 5 년 전
부모
커밋
0e0b8f7a79
1개의 변경된 파일11개의 추가작업 그리고 2개의 파일을 삭제
  1. +11
    -2
      pico.css

+ 11
- 2
pico.css 파일 보기

@@ -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);

Loading…
취소
저장