Opis:
CSS font-weight Określa grubość czcionki.
CSS font-weight - Przykład:
Składnia:
font-weight: normal|bold|bolder|lighter|number|initial|inherit;
CSS font-weight - Spis wartości:
| Nazwa | |
|---|---|
| normal | Domyślna. Ustawia standardową grubość czcionki. |
| bold | Czcionka jest pogrubiona. |
| bolder | Czcionka jest bardzo pogrubiona. |
| lighter | Czcionka jest bardzo cieńka. |
| 100, 200, 300, 400, 500, 600, 700, 800, 900 | Określa konkretną grubość czcionki. 400 odpowiada normalnej grubości, a 700 pogrubionej. |
| initial | Ustawia domyślną wartość. |
| inherit | Dziedziczy wartość po rodzicu. |
Zobacz również:
font | font-weight | @font-face | font-family | font-style |