To modify the thickness slightly, you can adjust numerical values in the fontWeight
property.
In addition to using bold
, the fontWeight
property can accept numerical values like 100
for very thin and 900
for very thick.
From what I understand, fontWeight: 'bold'
corresponds to fontWeight: '700'
in numerical value.
Therefore:
fontWeight: '900'
should be slightly thicker than fontWeight: 'bold'
While it may not be exactly what you were looking for, this information might be helpful.
Source: https://www.w3schools.com/cssref/pr_font_weight.asp
If you desire a text to be "bolder" than fontWeight: '900'
, you may need to employ some "visual cheats," such as using a different font-family or adding a text-shadow effect.
Here is an example:
<div style="font-weight:900;">I am the highest font-weight value 900</div>
<div class="doublethick">But I am even thicker :)</div>
<style>
.doublethick {
color:#000000;
text-shadow: 0.5px 0 #000000;
letter-spacing:1px;
font-weight:bold;
}
</style>