让粗体文字变细,将使用css font-weight实现
2019年11月30日
作者:佚名
让粗体文字变细,将使用css font-weight实现,字体可否粗体格局实现。
对h1、h2、h3、h4、h5等默许字体加粗格局完成细体(字体变畸形)
h1{ font-weight:normal} h2{ font-weight:normal} h3{ font-weight:normal} h4{ font-weight:normal} h5{ font-weight:normal}
可简写粗体变细CSS:
h1,h2,h3,h4,h5{font-weight:normal}
b、strong字体加粗标签内笔墨字体变细
径自标签配置
b{font-weight:normal} strong{font-weight:normal}
可简写同时设置两个字体粗体标具名体变细CSS:
b,strong{font-weight:normal}
这里不推荐运用font-weight设置详细如400、300、100这样值使笔墨变细,由于涉猎器分歧支持兼容性不同。