html - CSS Normalize:粗体与粗体?
问题描述
以下有什么区别:
b, strong {
font-weight: bold;
}
和
b, strong {
font-weight: bolder;
}
我在网上找不到合适的解释......在我的 CSS 重置中,我使用了第二个,font-weight: bolder;
但是哪一个是正确的,为什么?
更令人困惑的是,我还看到了以下内容:
b, strong {
font-weight: inherit;
}
b, strong {
font-weight: bolder;
}
2021 年 b 和 strong 标签的 font-weight 的正确 CSS 重置是多少?
解决方案
推荐阅读
- solver - 读取 gurobi lp 文件并列出约束
- php - 使用 google Drive api 上传后如何获取 google drive 文件 ID?
- c# - HttpWebRequest 适用于 windows 窗体但不适用于 Web API
- python - parsed_json = kstream.map(lambda (k,v): json.loads()),无效语法错误问题
- html - 纯粹使用 HTML + CSS 创建下拉菜单
- java - 无法将屏幕截图添加到 Cucumber 中的范围报告中
- javascript - 如何从javascript中的对象数组映射多个属性
- sql - 通过日期过滤器查找小时差异
- node.js - 如何使用 nvm 安装节点 9?
- logging - cron 输出到文件中