CSS selectors do not include "hypertext tag selectors", but include class selectors, tag selectors, ID selectors, pseudo-class selectors, etc., where "selector" specifies {} The object of "style" in .
#The operating environment of this article: Windows7 system, css3, Dell G3 computer.
CSS selectors do not include "hypertext tag selector".
CSS selectors include class selectors, tag selectors, ID selectors, pseudo-class selectors, etc.
Class selector, such as class type class = "nav", then css corresponds to .nav{};
Tag selector, such as body input directly corresponds to body{} input{} ;
ID selector, such as id="name", then the css corresponds to #name{};
Pseudo-class, pseudo-object: such as a:link,a:hover,a:visited wait.
Recommended: "css video tutorial"
The above is the detailed content of What does css selector not include?. For more information, please follow other related articles on the PHP Chinese website!