Bolder
, or lighter
is actually an inherited attribute. I’ll explain it better. If the father has font
normal, and you put bolder
in a child the browser understands that this child should have a boldface superior to that of the father. As well as the lighter
the browser understand that the child should have the source more "light" than the father’s.
Another point to have and mind is the limitation of one’s own font-family
who often doesn’t have a font-wight
heavier than the very thing bold
, then use bolder
would be the same thing as bold
, because she doesn’t have a heavier guy to apply, so does the lighter
, if the font-family
not having a lighter type the lighter will be the normal.
The problem here is that the font itself must have one or more Weights. If it has None you cannot make it Bold at all.
PORTUGUÊS
"The problem here is that the font itself must have one or more weights. If you don’t have any, you can’t boldface at all."
View this case study:
For the test case, the font-family
Segoe UI for Windows. If the font does not have the weight for all settings, for example if it does not have up to 900 the maximum it will reach is in 700.
OBS: Normal source is considered 400, above that semi-bold, Bold, extra Bold, black
and below light, extra light, thin
Source: https://www.quirksmode.org/css/text/fontweight.html
Mozilla reference table: https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight#Significado_de_pesos_relativos
You have the same question as you and good answers on this link in Stackoverflow: https://stackoverflow.com/questions/5592868/css-what-is-the-difference-between-bolder-andbold-font-weight-styles
– OtavioCapel