What is the difference between font-size and font-weight? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the difference between font-size and font-weight?

24th Dec 2016, 9:44 PM
Bas Maa
Bas Maa - avatar
2 Answers
+ 5
Weight is if font is more or less bold. Size is height of font...
24th Dec 2016, 9:45 PM
visph
visph - avatar
+ 1
The font-weight property sets how thick or thin characters in text should be displayed. syntax: font-weight: normal|bold|bolder|lighter|number|initial|inherit; The font-size property sets the size of the text. Being able to manage the text size is important in web design. However, you should not use font size adjustments to make paragraphs look like headings, or headings look like paragraphs.
25th Dec 2016, 9:25 AM
Bas Maa
Bas Maa - avatar