Skip to content

Instantly share code, notes, and snippets.

@danthegoodman1
Created January 12, 2018 15:44
Show Gist options
  • Save danthegoodman1/21afcd105859a18cf5cb13609cbd8eb3 to your computer and use it in GitHub Desktop.
Save danthegoodman1/21afcd105859a18cf5cb13609cbd8eb3 to your computer and use it in GitHub Desktop.
body{
margin: 0;
padding: 0;
}
.section1{
height: 100vh;
width: 100%;
background-image: url(i1.jpg);
background-size: cover;
display: table;
background-attachment: fixed;
}
#box2{
height: 100vh;
width: 100%;
background-image: url(i2.jpg);
background-size: cover;
display: table;
background-attachment: fixed;
}
#box3{
height: 100vh;
width: 100%;
background-image: url(i3.jpg);
background-size: cover;
display: table;
background-attachment: fixed;
}
h1{
font-family: arial black;
font-size: 50px;
color:white;
margin: 0px;
text-align: center;
display: table-cell;
vertical-align: middle;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment