Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2911 มุมมอง
อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง