Skip to content

Instantly share code, notes, and snippets.

@thatryan
Created June 3, 2019 20:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thatryan/a06807c8f12e73798da4d17c50b916c6 to your computer and use it in GitHub Desktop.
Save thatryan/a06807c8f12e73798da4d17c50b916c6 to your computer and use it in GitHub Desktop.
sassssss
.banner {
$banner: &;
color: $lexus-white;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 6em 0;
background-size: cover;
height: 500px;
&--dark {
color: $lexus-mid-dark;
}
&--no-height {
height: auto;
padding: 0;
}
&__copy {
max-width: 60%;
margin: 0;
}
&__copy--enform {
margin-bottom: 1em;
}
&--full {
#{$banner}__copy {
max-width: 90%;
}
}
&__link {
background: $lexus-dark;
color: $lexus-white;
padding: 1em 4em;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment