Evelyn-0423 commited on
Commit
e47b012
1 Parent(s): 288ded3

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +35 -19
index.html CHANGED
@@ -1,19 +1,35 @@
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>
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width" />
6
+ <title>My static Space</title>
7
+ <style>
8
+ body {
9
+ margin: 0;
10
+ }
11
+ .space {
12
+ max-width: 100%;
13
+ max-height: 100%;
14
+ width: 100vw;
15
+ height: 100vh;
16
+ overflow: hidden;
17
+ }
18
+ .iframe {
19
+ min-width: 100%;
20
+ min-height: 100%;
21
+ background: black;
22
+ }
23
+ </style>
24
+ </head>
25
+ <body>
26
+ <div class="space">
27
+ <iframe
28
+ class="iframe"
29
+ allowfullscreen="true"
30
+ frameborder="0"
31
+ src="https://dev.openxlab.org.cn/edit-anything/home">
32
+ </iframe>
33
+ </div>
34
+ </body>
35
+ </html>