Created
December 23, 2013 21:33
-
-
Save shkurkin/8105123 to your computer and use it in GitHub Desktop.
HTML/CSS for Self Assessment ex. 10
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Basic HTML</title> | |
<link rel="stylesheet" type="text/css" href="style.css"> | |
</head> | |
<body> | |
<div id="wrapper"> | |
<h1 class="sans">This is I</h1> | |
<div class="center"><img src="img/me.jpg"></div> | |
<h1>Eli Shkurkin</h1> | |
</div> | |
</body> | |
</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
img { | |
width: 100%; | |
} | |
h1 { | |
text-align: center; | |
} | |
#wrapper { | |
margin-left: auto; | |
margin-right: auto; | |
margin-top: 50px; | |
background: beige; | |
width: 500px; | |
border: 3px solid brown; | |
} | |
.center { | |
margin-left: auto; | |
margin-right: auto; | |
width: 70%; | |
} | |
.sans { | |
font-family: sans-serif; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment