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 |
Your point of view caught my eye and was very interesting. Thanks. I have a question for you.
Your article helped me a lot, is there any more related content? Thanks!
Your article helped me a lot, is there any more related content? Thanks!