Last active
January 27, 2017 00:42
-
-
Save LtAstros/5fc44d25eff8c36f28b335c8e5c5893a to your computer and use it in GitHub Desktop.
Exported from Popcode. Click to import: https://popcode.org/?gist=5fc44d25eff8c36f28b335c8e5c5893a
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>Classes and IDs</title> | |
</head> | |
<body> | |
<h2 class="WOW">This line should have a green background</h2> | |
<p class="WOW">This line should also have a green background</p> | |
<p id="COOL">This line should have "Comic Sans MS" font-family</p> | |
<hr> | |
<h2 id="super">This line should have blue background</h2> | |
<p id="MEME">This line should have blue background and an italic font-style too</p> | |
<hr> | |
<p id="red">The words should be in red!</p> | |
</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
.WOW { | |
background-color: green; | |
} | |
#COOL { | |
font-family: "Comic Sans MS"; | |
} | |
#super { | |
background-color: blue; | |
} | |
#MEME { | |
background-color: blue; | |
font-style: italic; | |
} | |
#red { | |
color: red; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment