上节课说的方式应该是相当于样式穿透吧
来源:12-13 自定义样式探讨2:外部样式的概念

negrochn
2018-12-12
.comment-wrap>n-tag:nth-of-type(1)>view {
background-color: #fffbdd;
}
.comment-wrap>n-tag:nth-of-type(2)>view {
background-color: #eefbff;
}
写回答
1回答
-
7七月
2018-12-12
我不太了解样式穿透的概念,这相当于一种hack的方式。可以解释下样式穿透吗?
012018-12-13
相似问题