CSS
.gc_top_search>form>div>a{...}
and
.gc_top_search form div a{...}
These two CSS What's the difference between these selectors? Are there any subtle differences in inheritance relationships?
Reply to discussion (solution)
It seems I don’t know yet. Studying
Problem solving.
One is Descendant selectors, and the other is Child selectors
That is, one only needs to be a descendant, and the other must be a son.
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