aiqtech commited on
Commit
ff8de4a
ยท
verified ยท
1 Parent(s): 588660f

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +82 -18
index.html CHANGED
@@ -1,19 +1,83 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
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
+ .grid-container {
8
+ display: grid;
9
+ grid-template-columns: repeat(5, auto); /* 5์—ด */
10
+ grid-template-rows: repeat(2, auto); /* 2ํ–‰ */
11
+ gap: 20px;
12
+ justify-content: center;
13
+ align-items: center;
14
+ margin: 50px;
15
+ }
16
+
17
+ .item {
18
+ display: flex;
19
+ align-items: center;
20
+ /* ๊ฐ item ์•ˆ์—์„œ ์ด๋ฏธ์ง€์™€ ๋น„๋””์˜ค ๋น„์œจ ์กฐ์ •:
21
+ img : video = 1 : 2 ๋กœ ์„ค์ • */
22
+ }
23
+
24
+ .item img {
25
+ flex: 1;
26
+ max-width: 100%;
27
+ height: auto;
28
+ }
29
+
30
+ .item video {
31
+ flex: 2;
32
+ max-width: 100%;
33
+ height: auto;
34
+ }
35
+ </style>
36
+ </head>
37
+ <body>
38
+
39
+ <div class="grid-container">
40
+ <div class="item">
41
+ <img src="1.webp" alt="1">
42
+ <video src="1.mp4" autoplay loop muted></video>
43
+ </div>
44
+ <div class="item">
45
+ <img src="2.webp" alt="2">
46
+ <video src="2.mp4" autoplay loop muted></video>
47
+ </div>
48
+ <div class="item">
49
+ <img src="3.webp" alt="3">
50
+ <video src="3.mp4" autoplay loop muted></video>
51
+ </div>
52
+ <div class="item">
53
+ <img src="4.webp" alt="4">
54
+ <video src="4.mp4" autoplay loop muted></video>
55
+ </div>
56
+ <div class="item">
57
+ <img src="5.webp" alt="5">
58
+ <video src="5.mp4" autoplay loop muted></video>
59
+ </div>
60
+ <div class="item">
61
+ <img src="6.webp" alt="6">
62
+ <video src="6.mp4" autoplay loop muted></video>
63
+ </div>
64
+ <div class="item">
65
+ <img src="7.webp" alt="7">
66
+ <video src="7.mp4" autoplay loop muted></video>
67
+ </div>
68
+ <div class="item">
69
+ <img src="8.webp" alt="8">
70
+ <video src="8.mp4" autoplay loop muted></video>
71
+ </div>
72
+ <div class="item">
73
+ <img src="9.webp" alt="9">
74
+ <video src="9.mp4" autoplay loop muted></video>
75
+ </div>
76
+ <div class="item">
77
+ <img src="10.webp" alt="10">
78
+ <video src="10.mp4" autoplay loop muted></video>
79
+ </div>
80
+ </div>
81
+
82
+ </body>
83
  </html>