Skip to content

Instantly share code, notes, and snippets.

@thebrianemory
Last active May 18, 2017 15:12
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 thebrianemory/68a7515fe617ef6ed1d27b4e91d77e90 to your computer and use it in GitHub Desktop.
Save thebrianemory/68a7515fe617ef6ed1d27b4e91d77e90 to your computer and use it in GitHub Desktop.
.hero-section {
background: linear-gradient(
rgba(0, 0, 0, 0.3),
rgba(0, 0, 0, 0.2)
), url('/images/cat.jpg') 50% no-repeat;
background-size: cover;
height: 80vh;
text-align: center;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.hero-section .hero-section-text {
color: #fefefe;
text-shadow: 1px 1px 2px #0a0a0a;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment