1
0
metya 7 жил өмнө
parent
commit
71f1f1646d
1 өөрчлөгдсөн 20 нэмэгдсэн , 6 устгасан
  1. 20 6
      index.html

+ 20 - 6
index.html

@@ -1,10 +1,24 @@
-<body background="thefletch.jpg" >
+<style>
+body, html {
+    margin: 0;
+    /* The image used */
+    background-image: url("thefletch.jpg");
+
+    /* Full height */
+    height: 100%; 
+
+    /* Center and scale the image nicely */
+    background-position: center;
+    background-repeat: no-repeat;
+    background-size: cover;
+/*     background-size: contain; */
+
+}
+</style>
+
+
+<body>
   
-<!--   <style>
-   body {
-    background-image: url(thefletch.jpg);
-   }
-  </style> -->
   <audio src="Harold Faltermeyer - Fletch Theme (Extended Version).mp3" autoPlay loop></audio> 
 
 </body>