Blogger Information
Blog 25
fans 0
comment 0
visits 9654
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
前端-20221020-1
P粉114035831
Original
331 people have browsed it

1.权重的原理及计算方式

1.权重的原理

1.实体标记:id,class,tag

  1. 2.排列顺序:id,class,tag

2.计算方式

1.id=# class=.tag 看选择器上有多少个数量则分别标示出来

如:
h1#name.title
则 id=#=1 class=.=1 tag=h1=1
为(1.1.1)

显现

Correcting teacher:PHPzPHPz

Correction status:qualified

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post