Created
March 22, 2014 05:03
-
-
Save kexline4710/9701572 to your computer and use it in GitHub Desktop.
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
/* The CSS Rule*/ | |
selector { | |
property: value; | |
} | |
/* CSS ID selector */ | |
/* <p id="footer">Copyright 2011</p> */ | |
#footer { | |
property: value; | |
} | |
/* CSS Class selector */ | |
/* <p class="warning">Run away!</p> */ | |
.warning { | |
color: red; | |
} | |
/* CSS property examples */ | |
p { | |
color: red; | |
color: #ff0000; | |
color: rgb(255, 0, 0); | |
} | |
p { | |
background-color: black; | |
background-color: #000000; | |
background-color: rgb(0,0,0); | |
} | |
p { | |
font-family: "Times New Roman"; | |
font-family: serif; | |
font-family: "Arial", sans-serif; | |
} | |
p { | |
font-size: 12px; | |
font-size: 1.5em; | |
font-size: 100%; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment