Difference between revisions of "Template:ElanVitalKorea"

Line 142: Line 142:
 
body {
 
body {
 
   /* 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 is centered vertically and horizontally at all times */
 
   /* Background image is centered vertically and horizontally at all times */
Line 159: Line 158:
 
}
 
}
  
 +
#bg {
 +
  position: fixed;
 +
  top: -50%;
 +
  left: -50%;
 +
  width: 200%;
 +
  height: 200%;
 +
}
 +
#bg img {
 +
  position: absolute;
 +
  top: 0;
 +
  left: 0;
 +
  right: 0;
 +
  bottom: 0;
 +
  margin: auto;
 +
  min-width: 50%;
 +
  min-height: 50%;
 +
}
  
 
</style>
 
</style>
Line 164: Line 180:
  
 
<body>
 
<body>
 +
 +
 +
<div id="bg">
 +
  <img src="https://static.igem.org/mediawiki/2015/archive/2/24/20150829203509!ElanVital_Bg.png" alt="">
 +
</div>
 +
  
 
<div id='cssmenu'>
 
<div id='cssmenu'>

Revision as of 16:16, 30 August 2015






MEMBERS