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

 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
  
 
<style>
 
<style>
 
.hero {
 
height: 90vh;
 
width: 100%;
 
}
 
  
 
.hero img {
 
.hero img {
max-height: 90vh;
+
height: 100vh;
max-width: 100%;
+
width: 100%;
 
left: 0px;
 
left: 0px;
 
right: 0px;
 
right: 0px;
Line 21: Line 16:
 
position:relative;
 
position:relative;
 
z-index: 1;
 
z-index: 1;
display: flex;
 
align-items: center;
 
object-fit: cover;
 
 
}
 
}
  

Latest revision as of 04:53, 17 October 2018