コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2893 ビュー
著作者 最善の回答

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

アバター
破棄