Symbols used in CSS

symbol name what for notes
. dot (period) denotes class value
# pound denotes id value
* star universal selector
space descendant selector
, comma group selector
: colon used for pseudo-classes only :hover and :active are supported by older IE versions; different pseudo-class support based on browser
> greater than child selector not supported by IE6 & earlier
+ plus adjacent selector CSS3 only
[ ] brackets attribute selector CSS3 only

By Jason

One thought on “CSS Symbols”

Leave a Reply

Your email address will not be published. Required fields are marked *