Created
February 1, 2017 13:46
-
-
Save xavi-/3ab4fba61ebf6a0487a11461ae8723b7 to your computer and use it in GitHub Desktop.
Exported from Popcode. Click to import: https://popcode.org/?gist=3ab4fba61ebf6a0487a11461ae8723b7
This file contains hidden or 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>Page Title</title> | |
</head> | |
<body> | |
<div id="intro"> | |
<h1>My Favorites</h1> | |
<p>This webapge has some of my <em>most favorite</em> things in the <strong>world</strong>!</p> | |
</div> | |
<div id="favorites"> | |
<div id="fav-tv" class="favorite"> | |
<h2>Favorite TV/Movies</h2> | |
<ol> | |
<li>Avatar</li> | |
<li>Rick and Morty</li> | |
<li class="movie">Captain America</li> | |
</ol> | |
</div> | |
<div id="fav-food" class="favorite"> | |
<h2>Favorite Food</h2> | |
<ol> | |
<li>Shwarma</li> | |
<li>Bibimbap</li> | |
<li>Pizza</li> | |
</ol> | |
</div> | |
<div id="fav-animals" class="favorite"> | |
<h2>Favorite Animals</h2> | |
<ol> | |
<li>Zoey</li> | |
<li>Zozo</li> | |
<li>Tiny Z</li> | |
</ol> | |
</div> | |
</div> | |
</body> | |
</html> |
This file contains hidden or 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
body { background: #daede2; font-family: arial; } | |
h1, h2 { text-align: center;} | |
h2 { font-size: 16px; } | |
#intro { | |
background: white; | |
border-radius: 5px; | |
} | |
#favorites { display: flex; } | |
.favorite { | |
border-radius: 5px; | |
flex-grow: 1; | |
} | |
.favorite li:first-child { font-size: 24px; } | |
.favorite li:last-child { font-size: 12px; } | |
#fav-tv { background: #ddddff; } | |
#fav-food { background: #ddffff; } | |
#fav-animals { background: #ffdddd; } | |
#fav-tv li { font-family: "Times New Roman"; } | |
#fav-food li { font-family: "Comic Sans MS"; } | |
#fav-animals li { font-family: "Impact"; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment