+ 1
What is difference between font-family and font-style
5 Antworten
+ 5
font-family you assign more than one font style. When the browser can't access it it reverts to the next font
while with the font-style you set only one font. If it fails to load the browser uses its default font
+ 4
With a font-family you set more than one font to the selected item that could be reverted to should the 1st font fail to load, the 2nd will take it's place and so on
while with the font-style you set only one font to selected item with no back up font to revert to. In this case the browser will set it's default font to the selected item should the font fail to load.
+ 2
'font-style' handle 'italic' or 'oblique' variant of a 'font-family' wich handle prioritized list of font family names and/or generic family names:
https://developer.mozilla.org/en-US/docs/Web/CSS/font-family
https://developer.mozilla.org/en-US/docs/Web/CSS/font-style
+ 1
thank you both
to clear my doubts....👈
0
Font family contains the files from html the generic versions.
Font famliy is the css version of the fonts typically not found in html.