Difference between revisions of "Template:ElanVitalKorea"

Line 141: Line 141:
  
 
body {
 
body {
 +
  /* 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%;
+
    
    -moz-background-size: 100%;
+
  /* Background image is centered vertically and horizontally at all times */
    -o-background-size: 100%;
+
  background-position: center center;
    background-size: 100%;
+
 
    margin:0;
+
  /* Background image doesn't tile */
    padding:0;
+
  background-repeat: no-repeat;
    border:0;
+
 
    width:100%;
+
  /* Background image is fixed in the viewport so that it doesn't move when
    min-width:386px;
+
    the content's height is greater than the image's height */
    min-height:100%;
+
  background-attachment: fixed;
    height:1px;
+
 
    font-size:90%;
+
  /* This is what makes the background image rescale based
 +
    on the container's size */
 +
  background-size: cover;
 
}
 
}
  

Revision as of 14:37, 30 August 2015






MEMBERS