Skip to content

Instantly share code, notes, and snippets.

@codewithbernard
Created December 26, 2021 07:51
Show Gist options
  • Select an option

  • Save codewithbernard/2114834ee368f5ae612d0cc5e0522a17 to your computer and use it in GitHub Desktop.

Select an option

Save codewithbernard/2114834ee368f5ae612d0cc5e0522a17 to your computer and use it in GitHub Desktop.
.article {
height: 100%;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
display: grid;
place-items: center;
}
.header {
font-size: 80px;
color: white;
text-align: center;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment