Update index.html
Browse files- index.html +20 -20
index.html
CHANGED
@@ -1,23 +1,25 @@
|
|
1 |
<!DOCTYPE html>
|
2 |
<html lang="en">
|
3 |
<head>
|
4 |
-
<meta charset="UTF-8"
|
5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0"
|
6 |
<style>
|
7 |
html, body {
|
8 |
margin:0; padding:0;
|
9 |
width:100vw; height:100vh;
|
|
|
10 |
}
|
11 |
-
|
12 |
.grid-container {
|
13 |
display: grid;
|
14 |
-
|
15 |
-
|
16 |
-
|
|
|
|
|
|
|
17 |
box-sizing: border-box;
|
18 |
-
padding:
|
19 |
-
width:100%;
|
20 |
-
height:100%;
|
21 |
}
|
22 |
|
23 |
img, video {
|
@@ -27,39 +29,37 @@
|
|
27 |
display: block;
|
28 |
}
|
29 |
|
30 |
-
video
|
31 |
-
/* video νκ·Έμμλ autoplay, loop, mutedλ₯Ό μμ±μΌλ‘ μ§μ */
|
32 |
-
}
|
33 |
</style>
|
34 |
</head>
|
35 |
<body>
|
36 |
|
37 |
<div class="grid-container">
|
38 |
-
<!-- 1
|
39 |
<img src="1.webp" alt="1">
|
40 |
<video src="1.mp4" autoplay loop muted></video>
|
41 |
<img src="2.webp" alt="2">
|
42 |
<video src="2.mp4" autoplay loop muted></video>
|
43 |
|
44 |
-
<!-- 2
|
45 |
<img src="3.webp" alt="3">
|
46 |
<video src="3.mp4" autoplay loop muted></video>
|
47 |
<img src="4.webp" alt="4">
|
48 |
<video src="4.mp4" autoplay loop muted></video>
|
49 |
-
|
50 |
-
<!-- 3
|
51 |
<img src="5.webp" alt="5">
|
52 |
<video src="5.mp4" autoplay loop muted></video>
|
53 |
<img src="6.webp" alt="6">
|
54 |
<video src="6.mp4" autoplay loop muted></video>
|
55 |
-
|
56 |
-
<!-- 4
|
57 |
<img src="7.webp" alt="7">
|
58 |
<video src="7.mp4" autoplay loop muted></video>
|
59 |
<img src="8.webp" alt="8">
|
60 |
<video src="8.mp4" autoplay loop muted></video>
|
61 |
-
|
62 |
-
<!-- 5
|
63 |
<img src="9.webp" alt="9">
|
64 |
<video src="9.mp4" autoplay loop muted></video>
|
65 |
<img src="10.webp" alt="10">
|
|
|
1 |
<!DOCTYPE html>
|
2 |
<html lang="en">
|
3 |
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
<style>
|
7 |
html, body {
|
8 |
margin:0; padding:0;
|
9 |
width:100vw; height:100vh;
|
10 |
+
overflow:hidden; /* νμμ μ€ν¬λ‘€ μ κ±° */
|
11 |
}
|
12 |
+
|
13 |
.grid-container {
|
14 |
display: grid;
|
15 |
+
width: 100%;
|
16 |
+
height: 100%;
|
17 |
+
/* 4μ΄: μ΄λ―Έμ§(1fr), μμ(2fr), μ΄λ―Έμ§(1fr), μμ(2fr) -> μ΄ν© 6fr λΉμ¨ μ μ§ */
|
18 |
+
grid-template-columns: 1fr 2fr 1fr 2fr;
|
19 |
+
grid-template-rows: repeat(5, 1fr); /* 5ν */
|
20 |
+
gap: 5px;
|
21 |
box-sizing: border-box;
|
22 |
+
padding: 5px;
|
|
|
|
|
23 |
}
|
24 |
|
25 |
img, video {
|
|
|
29 |
display: block;
|
30 |
}
|
31 |
|
32 |
+
/* video autoplay, loop, muted μμ± HTML νκ·Έμμ μ€μ */
|
|
|
|
|
33 |
</style>
|
34 |
</head>
|
35 |
<body>
|
36 |
|
37 |
<div class="grid-container">
|
38 |
+
<!-- 1ν: 1λ², 2λ² μ -->
|
39 |
<img src="1.webp" alt="1">
|
40 |
<video src="1.mp4" autoplay loop muted></video>
|
41 |
<img src="2.webp" alt="2">
|
42 |
<video src="2.mp4" autoplay loop muted></video>
|
43 |
|
44 |
+
<!-- 2ν: 3λ², 4λ² μ -->
|
45 |
<img src="3.webp" alt="3">
|
46 |
<video src="3.mp4" autoplay loop muted></video>
|
47 |
<img src="4.webp" alt="4">
|
48 |
<video src="4.mp4" autoplay loop muted></video>
|
49 |
+
|
50 |
+
<!-- 3ν: 5λ², 6λ² μ -->
|
51 |
<img src="5.webp" alt="5">
|
52 |
<video src="5.mp4" autoplay loop muted></video>
|
53 |
<img src="6.webp" alt="6">
|
54 |
<video src="6.mp4" autoplay loop muted></video>
|
55 |
+
|
56 |
+
<!-- 4ν: 7λ², 8λ² μ -->
|
57 |
<img src="7.webp" alt="7">
|
58 |
<video src="7.mp4" autoplay loop muted></video>
|
59 |
<img src="8.webp" alt="8">
|
60 |
<video src="8.mp4" autoplay loop muted></video>
|
61 |
+
|
62 |
+
<!-- 5ν: 9λ², 10λ² μ -->
|
63 |
<img src="9.webp" alt="9">
|
64 |
<video src="9.mp4" autoplay loop muted></video>
|
65 |
<img src="10.webp" alt="10">
|