Home >Web Front-end >HTML Tutorial >What are the differences between these two CSS writing methods? _html/css_WEB-ITnose

What are the differences between these two CSS writing methods? _html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:41:33984browse

.ui-btn-icon-notext .ui-corner-all{}
and
.ui-btn-icon-notext > .ui-corner-all{}

One is a comma and the other is >.

> indicates the next level.

. Does it mean equal level? ? ? Or the next level?


Reply to discussion (solution)

Dots represent class styles,,, and spaces in the middle represent everything under .ui-btn-icon-notext. ui-corner-all includes grandchild element nodes. . . " " means only child element nodes. . . .

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