Specificity rules for comma delineated lists

前端 未结 4 873
眼角桃花
眼角桃花 2020-12-18 12:05

When using Cascading Style Sheets I have observed the order of specificity as follows:

1st Laws: In-line Styles
2nd Laws: Numbe

4条回答
  •  佛祖请我去吃肉
    2020-12-18 12:24

    I this case both of them are Element Selectors so the outputted css would be bottom one because css is rendered from top to bottom precedence in this case takes last element.

提交回复
热议问题