跳至內容
選單
此問題已被標幟
1 回覆
2913 瀏覽次數
作者 最佳答案

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%; }

頭像
捨棄