What is the difference between the selectors quot;.class.classquot; and quot;.class .classquot;?(选择器“.class.class有什么区别?和“.class .class?)
问题描述
.class.class和
.class.class
有什么区别?
推荐答案
.class .class
匹配 .class
类中的任何元素后代.class
类的另一个元素的strong>.
.class .class
matches any elements of class .class
that are descendants of another element with the class .class
.
.class.class
匹配具有这两个类的任何元素.
.class.class
matches any element with both classes.
这篇关于选择器“.class.class"有什么区别?和“.class .class"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!