Skip to content

Instantly share code, notes, and snippets.

@Bijesse
Created September 12, 2016 15:10
Show Gist options
  • Save Bijesse/b771e627b092537bf531de3b82dd9cca to your computer and use it in GitHub Desktop.
Save Bijesse/b771e627b092537bf531de3b82dd9cca to your computer and use it in GitHub Desktop.
Exported from Popcode. Click to import: https://popcode.org/?gist=b771e627b092537bf531de3b82dd9cca
<!DOCTYPE html>
<html>
<head>
<title>IDs and Classes</title>
</head>
<body>
<h2 class="green blue">This should have a green background</h2>
<p>This too</p>
<p>And this.. but also with a "Comic Sans" font</p>
<hr>
<h2>This should have blue background</h2>
<p>This too</p>
<p>And this.. but with an italic font-style too</p>
<hr>
<p>This should be red!</p>
</body>
</html>
.green{
background: green;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment