CSS standards issues. _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:24:40
Original
965 people have browsed it

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.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template