Difference between revisions of "Template:Elanvitalkorea"

Line 237: Line 237:
 
     background-position: 9% 0%;
 
     background-position: 9% 0%;
 
background-repeat: no-repeat;
 
background-repeat: no-repeat;
 +
  background-image: url('https://static.igem.org/mediawiki/2015/2/24/ElanVital_Bg.png');
 
}
 
}
  
Line 242: Line 243:
 
   max-width: 800px;
 
   max-width: 800px;
 
}
 
}
 
figure.fixedratio {
 
  padding-top: 56.25%;  /* 450px/800px = 0.5625 */
 
}
 
 
figure.fixedratio {
 
  padding-top: 10%;  /* slope */
 
  height: 120px;  /* start height */
 
  background-image: url('https://static.igem.org/mediawiki/2015/2/24/ElanVital_Bg.png');
 
  background-size: cover;
 
  -moz-background-size: cover;  /* Firefox 3.6 */
 
  background-position: center;  /* Internet Explorer 7/8 */
 
}
 
 
  
 
IMG.displayed {
 
IMG.displayed {
Line 292: Line 279:
 
</head>
 
</head>
 
<body>
 
<body>
 
 
<div class="column">
 
  <figure class="fixedratio"></figure>
 
</div>
 
  
  
Line 380: Line 362:
 
});
 
});
 
</script>
 
</script>
 +
 +
  
 
<html>
 
<html>

Revision as of 14:18, 27 August 2015



Scroll down to find out more