With the attribute selector and the lens

What are the properties through use?
  1, ID page elements unique identifier
  2, class definitions element selector
  3, inline style defines a label is
  displayed label contents 4, title mouse moved into the element
CSS What are selectors
  1, a derived selector (in HTML tag stated)
  2, ID selector (with the DOM id stated)
  3, class selector (with a style class name stated)
  4, property selector (belonging css2, IE6 does not support, not used)
  5, and iterated selector (Lane separated by spaces, such as {} II.A div)
  . 6, group selector (using commas to separate, such as p, div. # a {} )
definition of priority
  id> class> tag> *
  the special selector, the higher its priority, that is, the selector pointed to the more accurate, the higher its priority

Guess you like

Origin www.cnblogs.com/zycs/p/12013483.html