tetete / index.html
aiqtech's picture
Update index.html
ee74111 verified
raw
history blame
1.62 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<style>
html, body {
margin:0; padding:0;
width:100vw; height:100vh;
}
.grid-container {
display: grid;
grid-template-columns: repeat(4, 1fr); /* 4μ—΄ */
grid-template-rows: repeat(5, 1fr); /* 5ν–‰ */
gap: 10px;
box-sizing: border-box;
padding: 10px;
width:100%;
height:100%;
}
img, video {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
video {
/* video νƒœκ·Έμ—μ„œλŠ” autoplay, loop, mutedλ₯Ό μ†μ„±μœΌλ‘œ μ§€μ • */
}
</style>
</head>
<body>
<div class="grid-container">
<!-- 1ν–‰ -->
<img src="1.webp" alt="1">
<video src="1.mp4" autoplay loop muted></video>
<img src="2.webp" alt="2">
<video src="2.mp4" autoplay loop muted></video>
<!-- 2ν–‰ -->
<img src="3.webp" alt="3">
<video src="3.mp4" autoplay loop muted></video>
<img src="4.webp" alt="4">
<video src="4.mp4" autoplay loop muted></video>
<!-- 3ν–‰ -->
<img src="5.webp" alt="5">
<video src="5.mp4" autoplay loop muted></video>
<img src="6.webp" alt="6">
<video src="6.mp4" autoplay loop muted></video>
<!-- 4ν–‰ -->
<img src="7.webp" alt="7">
<video src="7.mp4" autoplay loop muted></video>
<img src="8.webp" alt="8">
<video src="8.mp4" autoplay loop muted></video>
<!-- 5ν–‰ -->
<img src="9.webp" alt="9">
<video src="9.mp4" autoplay loop muted></video>
<img src="10.webp" alt="10">
<video src="10.mp4" autoplay loop muted></video>
</div>
</body>
</html>