abeea commited on
Commit
f404aaa
·
verified ·
1 Parent(s): a670c07

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +53 -18
index.html CHANGED
@@ -1,19 +1,54 @@
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
+ <title>Full Screen Iframe</title>
7
+ <style>
8
+ * {
9
+ margin: 0;
10
+ padding: 0;
11
+ box-sizing: border-box;
12
+ }
13
+
14
+ html, body {
15
+ height: 100%;
16
+ font-family: Arial, sans-serif;
17
+ }
18
+
19
+ .container {
20
+ display: flex;
21
+ flex-direction: column;
22
+ height: 100%;
23
+ }
24
+
25
+ iframe {
26
+ flex: 1;
27
+ width: 100%;
28
+ border: none;
29
+ }
30
+
31
+ footer {
32
+ background-color: #222;
33
+ color: #fff;
34
+ text-align: center;
35
+ padding: 10px;
36
+ font-size: 14px;
37
+ }
38
+
39
+ footer span {
40
+ color: #e25555;
41
+ }
42
+ </style>
43
+ </head>
44
+ <body>
45
+ <div class="container">
46
+ <!-- Replace the src below with the URL you want to display -->
47
+ <iframe src="https://example.com" allowfullscreen></iframe>
48
+
49
+ <footer>
50
+ Made with <span>♥</span> by Abdullah Tarar
51
+ </footer>
52
+ </div>
53
+ </body>
54
  </html>