cortexinc commited on
Commit
c15e071
·
verified ·
1 Parent(s): 5e34ff1

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +21 -15
index.html CHANGED
@@ -4,7 +4,8 @@
4
  <head>
5
  <meta charset="UTF-8">
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
- <title>GIF Arka Plan</title>
 
8
 
9
  <style>
10
  * {
@@ -13,34 +14,39 @@
13
  box-sizing: border-box;
14
  }
15
 
16
- html, body {
 
17
  width: 100%;
18
  height: 100%;
19
  overflow: hidden;
 
20
  }
21
 
22
  body {
23
- background: #000 url("https://i.pinimg.com/originals/2d/80/d7/2d80d7455e67ca45cdbef867634aff98.gif")
24
- center center
25
- / cover
26
- no-repeat;
27
  }
28
 
29
- /* İçerik buraya gelecek */
30
- .content {
31
- position: relative;
32
- z-index: 2;
33
- width: 100%;
34
- height: 100%;
 
 
35
  }
36
  </style>
37
  </head>
38
 
39
  <body>
40
 
41
- <div class="content">
42
- </div>
 
 
 
43
 
44
  </body>
45
  </html>
46
-
 
4
  <head>
5
  <meta charset="UTF-8">
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+
8
+ <title>GIF</title>
9
 
10
  <style>
11
  * {
 
14
  box-sizing: border-box;
15
  }
16
 
17
+ html,
18
+ body {
19
  width: 100%;
20
  height: 100%;
21
  overflow: hidden;
22
+ background: #000;
23
  }
24
 
25
  body {
26
+ display: flex;
27
+ align-items: center;
28
+ justify-content: center;
 
29
  }
30
 
31
+ .gif {
32
+ width: 70vw;
33
+ height: 70vh;
34
+
35
+ max-width: 100%;
36
+ max-height: 100%;
37
+
38
+ object-fit: contain;
39
  }
40
  </style>
41
  </head>
42
 
43
  <body>
44
 
45
+ <img
46
+ class="gif"
47
+ src="https://i.pinimg.com/originals/2d/80/d7/2d80d7455e67ca45cdbef867634aff98.gif"
48
+ alt="GIF"
49
+ >
50
 
51
  </body>
52
  </html>