สรุปบทที่ 7
สิ่งที่ควรทำได้แล้ว
• ใช้ A B, A > B, A + B
• ใช้ :hover, :focus และแนะนำ :nth-child
• นับ specificity แบบ (a, b, c) และเทียบกับ inline
• หลีกเลี่ยง !important เป็นทางลัดแรก
• ใช้ DevTools ดูกฎที่ถูก override
บทต่อไป: Box Model — content, padding, border, margin และ box-sizing