A Pen by Ian Dallenbach on CodePen.
Created
January 28, 2017 23:43
Star
You must be signed in to star a gist
MJOPWx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html class="cover"> | |
<div class="reed" | |
<body> | |
<div class="container"> | |
<h1> Fighting Yellow Fever </h1 | |
<h4> The Life of Dr. Walter Reed </h4> | |
</div> | |
<img alt="a photograph of Dr. Reed." class="reed-photo" src="https://upload.wikimedia.org/wikipedia/commons/thumb/4/4e/WalterReed.jpeg/220px-WalterReed.jpeg"> | |
<p> father of vaccination </p> | |
<div class="list"> | |
<ul class="span"> | |
<li>Father of Vaccination</li> | |
<li>list item</li> | |
</ul> | |
</body> | |
</div> | |
</div> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.reed{ | |
margin: solid; | |
background-image: url("http://www.myfreetextures.com/wp-content/uploads/2014/11/floral-old-paper-or-parchment-502x391.jpg"); | |
top:0; | |
left:0; | |
min-width: 100%; | |
min-height: 100%; | |
background-size: cover; | |
} | |
.container{ | |
padding-top: 50px; | |
font-size: 20; | |
font-family: "Tahoma", Georgia, Serif; | |
text-align: center; | |
} | |
.reed-photo{ | |
display: block; | |
margin-left: auto; | |
margin-right: auto; | |
} | |
p{ | |
text-align: center; | |
} | |
.list{ | |
text-align: center; | |
} | |
.span{ | |
position:relative; left: -10px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment