D
D
Demigodd2019-02-19 19:49:43
css
Demigodd, 2019-02-19 19:49:43

What is the correct way to use fonts from another site?

I was interested in this Devhints.io site, especially its text fonts. After some digging in " View in Code " I found this long list of fonts.

font-family: -apple-system,BlinkMacSystemFont,segoe ui,roboto,oxygen,ubuntu,cantarell,fira sans,droid sans,helvetica neue,sans-serif;

And now I have one question, what is it?
How to properly install all these fonts on my application?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rodion Meshcheryakov, 2019-02-19
@Demigodd

The only external font used on this site is Cousine, which they pull in from Google Fonts. All other fonts are taken from the user-specific system font set.
Those. You don't need to install anything in your application. You can just copy this line from font-familyto the selectorbody

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question