Difference between revisions of "Template:ElanVitalKorea"

Line 143: Line 143:
 
   /* Location of the image */
 
   /* Location of the image */
 
background-image: url("https://static.igem.org/mediawiki/2015/archive/2/24/20150829203509!ElanVital_Bg.png");
 
background-image: url("https://static.igem.org/mediawiki/2015/archive/2/24/20150829203509!ElanVital_Bg.png");
 
+
-webkit-background-size: 100%;
+
  /* Background image is centered vertically and horizontally at all times */
    -moz-background-size: 100%;  
+
  background-position: center center;
    -o-background-size: 100%;
+
    background-size: 100%;  
+
  /* Background image doesn't tile */
    -webkit-background-size: cover;  
+
  background-repeat: no-repeat;
    -moz-background-size: cover;
+
    -o-background-size: cover;
+
  /* Background image is fixed in the viewport so that it doesn't move when
    background-size: cover;
+
    the content's height is greater than the image's height */
 
+
  background-attachment: fixed;
 +
 +
  /* This is what makes the background image rescale based
 +
    on the container's size */
 +
  background-size: cover;
 
}
 
}
  

Revision as of 19:03, 30 August 2015






MEMBERS