Line 3: | Line 3: | ||
<style> | <style> | ||
.teamBanner{ | .teamBanner{ | ||
+ | position: relative; | ||
text-align: center; | text-align: center; | ||
padding-top:100px; | padding-top:100px; | ||
Line 14: | Line 15: | ||
color:#FFF; | color:#FFF; | ||
background-image: linear-gradient(to right, black , #0B75AF); | background-image: linear-gradient(to right, black , #0B75AF); | ||
+ | } | ||
+ | .teamBanner .content{ | ||
+ | position: absolute; | ||
+ | z-index:999; | ||
+ | text-align: center; | ||
+ | width: 100%; | ||
} | } | ||
.teamBanner::after{ | .teamBanner::after{ | ||
content: ""; | content: ""; | ||
− | position: | + | position: absolute; |
− | z-index:99; | + | top: 0px; |
− | background-image: url(https://i.stack.imgur.com/Hp53k.jpg); | + | left: 0px; |
− | background-size: cover; | + | width: 100%; |
− | opacity: 0.4; | + | height: 100%; |
+ | z-index:99; | ||
+ | background-image: url(https://i.stack.imgur.com/Hp53k.jpg); | ||
+ | background-size: cover; | ||
+ | opacity: 0.4; | ||
} | } | ||
Revision as of 19:28, 21 August 2018