H
3 months ago
Hannahcountry asked

What is the difference between font-weight and font-style in CSS?

Abhay Jajodia
Expert
last month
Abhay Jajodia answered

Hi hannah,

font-weight controls how bold or thin the text is, like normal, bold, or 700.

font-style controls whether the text is slanted, like normal or italic.

If you have more questions, I am here to help 😊

CSS
This question was asked as part of the Learn CSS course.