0
what are various css font-family value with cursive and monospace generic?
i want some different font family to work with. help me.
23 Answers
+ 3
Visit :
https://fonts.google.com/
+ 3
supported generic names:
serif, sans-serif, monospace, cursive, fantasy, system-ui, math, emoji, fangsong.
https://developer.mozilla.org/en-US/docs/Web/CSS/font-family
0
Hi! If you want different fonts, try using Google Fonts. Here are some examples that you can use....
https://code.sololearn.com/WEupYaBp4xNq/?ref=app
0
combination of different font family name with a generic family name is showing same result.
ex Griffy,cursive has font same as Florence ,cursive.
0
Are Griffy and Florence exact names of installed fonts in your system?
If conversely they are web fonts (loaded trough css), are they correctly imported in your document?
In both cases, I think you could try to enclose the font name in quotes (single or double): I guess that not generics fonts (keywords) needs maybe that (string value) to correctly works ^^
0
visph Griffy is a Google Fonts font
0
i got it
now it's working.
my mistake.
0
Divya Mohan no, Griffy and Florence is not showing the same result
0
Divya Mohan you probably don't have correctly imported them ;)
0
... or maybe don't you have let your browser enough times to download them the first time, and next the fonts were loaded quickest thanks to navigator cache ^^
0
visph yeah maybe the loading took too long..... Hey isn't Florence an in built font?
0
I don't think so... isn't it too a google font?
Maybe it's a default font in your operating system?
0
visph nah, Sololearn works on its own OS (most probably)
0
There's nothing related with sololearn about that ^^
Fonts displayed by your browsers or your apps need to be installed locally in your device/OS (even temporaly by css engines for web fonts).
0
visph oh I didn't know that😅but the Florence font works on my mom's and my dad's phones and their phones are different from mine..
0
different phone, but maybe not different OS?
The trick is that some fonts could be bundled with os, as with software. And mobile os are binded by phone sellers (both factory trademarks and phone operators), so they could add their own defaults fonts too.
0
No, I meant different phones as in Oppo, Xiaomi and Samsung...
0
But doesn't all run Android as OS?...
0
Hmmm.....that's true
0
But all are different types of Android like Samsung has its own android type (not version) and so does Xiaomi(hell spelling this is difficult)