0
votes

Google's font families each have more than one style, how can I choose a specific style from the styles I've chosen from this family to style a specific HTML element? how can I know their CSS value? I know you need to add the tag to the and there are CSS rules to specify families available but they are general for the family font, I want to choose a style from the family font. Google font-family with its styles Hope what I meant was clear. Thanks in advance,

1
So from what I understand, you need to choose a specific font from those selections? - GalaxyCat105
yes, how to choose a certain style of the family since it has more than one style? how to address it in CSS value - Black Unicorn

1 Answers

0
votes

Those are either italic or different font weights of the same font family, so for example if you need in your project a font weight of 700, 400 and 300, you select those, so that when you use them in your code, they will be available. And the transpiler won't go look for another family that you added as second or third to find the good style. Hope that makes sense