mam problem s css stylom font-weight, na mobiloch mi hruby text zobrazuje ako normalny.
Kód: Vybrať všetko
.content strong {
font-weight: 500;
}
Ako mam dany problem fixnut?
Kód: Vybrať všetko
.content strong {
font-weight: 500;
}
https://developer.mozilla.org/en-US/doc ... ont-weightIf the exact weight given is unavailable, then the following heuristic is used to determine the weight actually rendered:
If a weight greater than 500 is given, the closest available darker weight is used (or, if there is none, the closest available lighter weight).
If a weight less than 400 is given, the closest available lighter weight is used (or, if there is none, the closest available darker weight).
If a weight of exactly 400 is given, then 500 is used. If 500 is not available, then the heuristic for font weights less than 500 is used.
If a weight of exactly 500 is given, then 400 is used. If 400 is not available, then the heuristic for font weights less than 400 is used.
This means that for fonts that provide only normal and bold, 100-500 are normal, and 600-900 are bold.
Kód: Vybrať všetko
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}