Skip to content

Instantly share code, notes, and snippets.

@rhatano
Created April 7, 2012 23:10
Show Gist options
  • Save rhatano/2332742 to your computer and use it in GitHub Desktop.
Save rhatano/2332742 to your computer and use it in GitHub Desktop.
id selector 1
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