rishabh-zuma commited on
Commit
e678015
·
1 Parent(s): 57ea7be

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +18 -1
index.html CHANGED
@@ -5,6 +5,21 @@
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
  <script>
@@ -29,7 +44,9 @@ function initLandbot() {
29
  }
30
  }
31
  </script>
32
- <img src="apartment.png" alt="Arcade Artist Apartments">
 
 
33
  <!-- <div class="card">
34
  <h1>Welcome to your static Space!</h1>
35
  <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
 
5
  <meta name="viewport" content="width=device-width" />
6
  <title>My static Space</title>
7
  <link rel="stylesheet" href="style.css" />
8
+ <style>
9
+ * {
10
+ margin: 0;
11
+ padding: 0;
12
+ }
13
+ .imgbox {
14
+ display: grid;
15
+ height: 100%;
16
+ }
17
+ .center-fit {
18
+ max-width: 100%;
19
+ max-height: 100vh;
20
+ margin: auto;
21
+ }
22
+ </style>
23
  </head>
24
  <body>
25
  <script>
 
44
  }
45
  }
46
  </script>
47
+ <div class="imgbox">
48
+ <img src="apartment.png" alt="Arcade Artist Apartments" class="center-fit">
49
+ </div>
50
  <!-- <div class="card">
51
  <h1>Welcome to your static Space!</h1>
52
  <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>