Added short description (#27814)

This commit is contained in:
Shi974
2019-01-19 03:07:40 +04:00
committed by Tom
parent bd2b40a75b
commit 2ab6bdeb79

View File

@ -2,14 +2,15 @@
title: Font Weight and Style title: Font Weight and Style
--- ---
## Font Weight and Style ## Font Weight and Style
The font-weight is used to define the thickness of characters. It is used in HTML (outdated) and CSS. It can be determined in two different ways.
Font-weight can be written as text values: * Font-weight can be written as text values:
``` ```
font-weight: normal; font-weight: normal;
font-weight: bold; font-weight: bold;
``` ```
Or as a numerical value from `100` to `900` (in multiples of 100): * Or as a numerical value from `100` to `900` (in multiples of 100):
``` ```
font-weight: 400; /* equal to 'normal' above */ font-weight: 400; /* equal to 'normal' above */
font-weight: 700; /* equal to 'bold' above */ font-weight: 700; /* equal to 'bold' above */