Home  >  Article  >  Web Front-end  >  这两个CSS写法都有哪些不同?_html/css_WEB-ITnose

这两个CSS写法都有哪些不同?_html/css_WEB-ITnose

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

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

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

一个是逗号,一个是>。

>表示下一级。 

. 表示平级吗???  还是下一级?


回复讨论(解决方案)

点表示class样式,,,中间加空格表示.ui-btn-icon-notext 下的所有.ui-corner-all包括孙元素节点。。。" 〉"表示仅仅子元素节点。。。。

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