Created
April 7, 2012 23:10
-
-
Save rhatano/2332742 to your computer and use it in GitHub Desktop.
id selector 1
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
You can also compose id selectors and html selectors. | |
For any id value "id" and any html tag "tag" | |
#id tag { | |
[some CSS] | |
} | |
Only the tag instance with the id value "id" will be styled under the properties in [some CSS]. | |
This works in much the same way as combining class and tag selector does, and offers much the same uses. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment