- 博客(2)
- 收藏
- 关注
原创 css优先级和css字体样式内容
通用选择器(*),子选择器(>),和相邻同胞选择器(+)并不在这个等级中,所以他们的权值为0。伪类和属性选择器,如.content,权值为10。,如style="",权值为 1000。font-weight:定义字体粗细。,如#content,权值为100。font-style 设置字体样式。lin-height:设置行高。,如div p,权值为。
2023-10-09 17:27:19
293
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅