CSS Selector Specificity Calculation: Class Versus Elements

前端 未结 0 585
梦毁少年i
梦毁少年i 2020-12-22 11:16

Given the following CSS

div div { background-color: blue }
.myClass { background-color: green }

Why does the following HTML produce a blue ba

相关标签:
回答
  • 消灭零回复
提交回复
热议问题