Difference between revisions of "Template:US AFRL CarrollHS/hero"

 
(17 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
<style>
 
<style>
  
body, html {height: 100%;}
+
.hero img {
 
+
height: 100vh;
div.hero {
+
height: 100%;
+
 
width: 100%;
 
width: 100%;
 
left: 0px;
 
left: 0px;
 
right: 0px;
 
right: 0px;
top: 0px;
+
top: -50px;
 +
padding: 0px;
 +
margin:0px;
 
background-position: center;
 
background-position: center;
 
background-repeat: no-repeat;
 
background-repeat: no-repeat;
 
background-size: cover;
 
background-size: cover;
 
position:relative;
 
position:relative;
 +
z-index: 1;
 
}
 
}
  
 
</style>
 
</style>
 
<div class="hero">
 
      <img src="https://static.igem.org/mediawiki/2018/e/e2/T--US_AFRL_CarrollHS--filler1.png" alt="Third slide">
 
</div>
 
  
 
</html>
 
</html>

Latest revision as of 04:53, 17 October 2018