Home  >  Article  >  Web Front-end  >  What does css selector not include?

What does css selector not include?

藏色散人
藏色散人Original
2021-02-23 14:54:0610618browse

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 .

What does css selector not include?

#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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn