Skip to content

Instantly share code, notes, and snippets.

@kirsten
Created October 10, 2017 23:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kirsten/c8326dd92f7d4e1bff4ab9e63ad45890 to your computer and use it in GitHub Desktop.
Save kirsten/c8326dd92f7d4e1bff4ab9e63ad45890 to your computer and use it in GitHub Desktop.
Exported from Popcode. Click to import: https://popcode.org/?gist=c8326dd92f7d4e1bff4ab9e63ad45890
<!DOCTYPE html>
<html>
<head>
<title>02.1 CSS Selectors Ransom Note </title>
</head>
<body>
<h1>Ransom Note</h1>
<ul>
<li>I may</li>
<li><h6>have</h6><h1>hid</h1><h4>den</h4><h3>the</h3>pri</li>
<li><h5>ze</h5><h2>un</h2>der</li>
<li><h2>neathe</h2><h3><h1>the</h1></h3><h4>ch</h4></li>
<li><h4>air</h4><h6>in</h6><h2>the</h2><h1>back</h1></li>
<li><h3>co</h3><h5>rner</h5><h1>near</h1></li>
<li><h5>the</h5><h2>wi</h2>ndows</li>
</ul>
</body>
</html>
li {
color: white;
}
h1{
color: white;
}
h2 {
color: white;
}
h3 {
color: red;
background-color: red;
}
h4 {
background-color: yellow;
color: yellow;
}
h5 {
color: white;
}
h6 {
color: blue;
background-color: blue;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment