+ 2
What is the difference between font weight, font size in CSS?
currently I have been learning css in SoloLearn..I read the font related topics recently..but I'm little confused on font topics.. could anyone explain me this clearly?
3 Respostas
+ 16
font weight --> sets how thick - thin the text should be displayed... (boldness)
font size ---> sets the dimension of the text to be displayed
https://www.google.co.in/url?sa=t&source=web&rct=j&url=https://www.w3schools.com/cssref/pr_font_weight.asp&ved=2ahUKEwiC4fyz0dXZAhXBRY8KHbe5DSAQFjACegQIBhAB&usg=AOvVaw3uVD0MAS-C2VhV1Fg1ZGDy
+ 4
font-weight: the larger for a character
font-size: if it will be smaller or not (the dimensions)
+ 2
font size is a characterics of glyph's heights. it is measured as a height of parenthesis in font (because the parenthesis are the higest gliphs in european fonts).
font weight is a characteristic of glyph strokes (lines). may be represented as a pressure on pen. or as a visual weight of gliphs