检查元素
来非常容易地查看用于实现该效果的CSS。
DriveTribe
:
检查一下你的字体是否有更重的样式可用。例如,我使用了这个默认样式(即“常规”),没有意识到还有其他样式可用:https://fonts.google.com/specimen/Montserrat
你尝试过使用 <b></b>
或者 <strong></strong>
标签将文本加粗吗?
p {
background-color: black;
color: white;
font-size: 60px;
font-family: Verdana
}
<p><strong>This is a text</strong></p>