CSS 字体颜色加粗 - 完整指南
可以使用 CSS 的 'font-weight' 和 'color' 属性来实现字体颜色加粗:
/* 将字体颜色设置为红色,加粗 */
p {
color: red;
font-weight: bold;
}
也可以使用缩写形式:
/* 将字体颜色设置为红色,加粗 */
p {
font: bold red;
}
原文地址: https://www.cveoy.top/t/topic/jM4t 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
可以使用 CSS 的 'font-weight' 和 'color' 属性来实现字体颜色加粗:
/* 将字体颜色设置为红色,加粗 */
p {
color: red;
font-weight: bold;
}
也可以使用缩写形式:
/* 将字体颜色设置为红色,加粗 */
p {
font: bold red;
}
原文地址: https://www.cveoy.top/t/topic/jM4t 著作权归作者所有。请勿转载和采集!