Created
March 20, 2018 20:02
-
-
Save dmitryzatsepin/33f8409b2b73e0e9b2534ea6956c6d40 to your computer and use it in GitHub Desktop.
main-header.sass
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.main-header | |
min-height: 100vh | |
background-size: cover | |
position: relative | |
align-content: center | |
&::before | |
content: '' | |
position: absolute | |
top: 0 | |
left: 0 | |
right: 0 | |
bottom: 0 | |
background-color: $black | |
opacity: 0.60 | |
.header-content | |
z-index: 1 | |
color: #fefefe | |
text-align: center | |
text-transform: uppercase | |
padding: 3.75em $gutter | |
h1 | |
font-size: 2.751rem | |
margin: 1.25em 0 | |
line-height: 1.5 | |
//text-shadow: 2px 4px 5px rgba(0, 0, 0, 0.2)*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment