+ 5

What's the difference

What's the diffrence between the font family and font style?in css

26th Apr 2017, 11:52 AM
Mark
Mark - avatar
2 Answers
+ 8
font- family: First you will set a default font but with other family of fonts to be used as fallbacks if the default is not found. font-style: Defines a single font with no fallbacks. In this case if the font is not found the browser uses it inbuilt default font.
26th Apr 2017, 12:07 PM
Benneth Yankey
Benneth Yankey - avatar
+ 3
Oh k thank u bro i understood now!
26th Apr 2017, 12:10 PM
Mark
Mark - avatar