Skip to content

Instantly share code, notes, and snippets.

@danthegoodman1
Created January 12, 2018 15:43
Show Gist options
  • Save danthegoodman1/d0abe90f0c4822685526cdd1444a815d to your computer and use it in GitHub Desktop.
Save danthegoodman1/d0abe90f0c4822685526cdd1444a815d to your computer and use it in GitHub Desktop.
<html>
<!-- modified from: https://github.com/DaftCreation/Paralex -->
<head>
<style>
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;
}
</style>
</head>
<body>
<div id="section1" class='section1'>
<h1>Dan Goodman</h1>
</div>
<div id="box2">
<h1>Dan Goodman</h1>
</div>
<div id="box3">
<h1>Dan Goodman</h1>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment