有空格,代表:后代迭代选择器,
没有空格,代表:同时包含class
比如:
.swiperA .swiperB .swiper{
background-color:red;
}
.swiperA .swiperB.swiper{
background-color:blue;
}
A区域背景色会是红色
B区域背景色是蓝色
有空格,代表:后代迭代选择器,
没有空格,代表:同时包含class
比如:
.swiperA .swiperB .swiper{
background-color:red;
}
.swiperA .swiperB.swiper{
background-color:blue;
}
A区域背景色会是红色
B区域背景色是蓝色