Browse Source

Background in body

Jean-Baptiste (Rorist) Aubort 5 years ago
parent
commit
b2437c41d8
2 changed files with 6 additions and 8 deletions
  1. 5 7
      style.css
  2. 1 1
      trigger.html

+ 5 - 7
style.css

@@ -23,18 +23,16 @@ simple way to have an unified background that cover all the screen.
 html {
     width: 100%;
     height: 100%;
-    
-    background-color: #111111;
-    
-    background: black url('img/head_front.svg') no-repeat;
-    background-size: contain;
-    background-position: right;
-    background-attachment:fixed;
 }
 
 body {
     width: 100%;
     height: 100%;
+    background-color: #111111;
+    background: black url('img/head_front.svg') no-repeat;
+    background-size: contain;
+    background-position: right;
+    background-attachment:fixed;
 }
 
 p {

+ 1 - 1
trigger.html

@@ -5,8 +5,8 @@
   <meta charset="utf-8">
   <meta http-equiv="X-UA-Compatible" content="IE=edge">
   <meta name="viewport" content="width=device-width, initial-scale=1">
-  <link rel="stylesheet" href="style.css">
   <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
+  <link rel="stylesheet" href="style.css">
   <link rel="shortcut icon" href="favicon.ico" />
 </head>
 <body onload="onPageLoad()">