0

what are various css font-family value with cursive and monospace generic?

i want some different font family to work with. help me.

10th Apr 2020, 1:29 PM
Divya Mohan
Divya Mohan - avatar
23 Respuestas
10th Apr 2020, 1:33 PM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
+ 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
10th Apr 2020, 2:04 PM
visph
visph - avatar
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
10th Apr 2020, 1:31 PM
Calimari
Calimari - avatar
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.
10th Apr 2020, 2:19 PM
Divya Mohan
Divya Mohan - avatar
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 ^^
10th Apr 2020, 2:23 PM
visph
visph - avatar
0
visph Griffy is a Google Fonts font
10th Apr 2020, 2:38 PM
Calimari
Calimari - avatar
0
i got it now it's working. my mistake.
10th Apr 2020, 2:38 PM
Divya Mohan
Divya Mohan - avatar
0
Divya Mohan no, Griffy and Florence is not showing the same result
10th Apr 2020, 2:39 PM
Calimari
Calimari - avatar
0
Divya Mohan you probably don't have correctly imported them ;)
10th Apr 2020, 2:40 PM
visph
visph - avatar
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 ^^
10th Apr 2020, 2:43 PM
visph
visph - avatar
0
visph yeah maybe the loading took too long..... Hey isn't Florence an in built font?
10th Apr 2020, 2:53 PM
Calimari
Calimari - avatar
0
I don't think so... isn't it too a google font? Maybe it's a default font in your operating system?
10th Apr 2020, 2:54 PM
visph
visph - avatar
0
visph nah, Sololearn works on its own OS (most probably)
11th Apr 2020, 3:19 PM
Calimari
Calimari - avatar
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).
11th Apr 2020, 3:28 PM
visph
visph - avatar
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..
11th Apr 2020, 3:55 PM
Calimari
Calimari - avatar
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.
11th Apr 2020, 3:59 PM
visph
visph - avatar
0
No, I meant different phones as in Oppo, Xiaomi and Samsung...
11th Apr 2020, 4:01 PM
Calimari
Calimari - avatar
0
But doesn't all run Android as OS?...
11th Apr 2020, 4:02 PM
visph
visph - avatar
0
Hmmm.....that's true
11th Apr 2020, 4:02 PM
Calimari
Calimari - avatar
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)
11th Apr 2020, 4:03 PM
Calimari
Calimari - avatar