跳至内容
菜单
此问题已终结
1 回复
2886 查看
编写者 最佳答案

for example:

HTML

<div class="style1 style2"></div>

CSS

//only style for the first stylesheet

.style1 { width: 100%; }

//only style for second stylesheet

.style2 { width: 50%; }

//override all

.style1.style2 { width: 70%; }

形象
丢弃