I
I
Ingerniated2019-09-30 19:56:28
css
Ingerniated, 2019-09-30 19:56:28

How to download all font sizes similar to a connection via a link from google fonts?

Hello!
Tell me how to combine into one family, connected 2 or more files with fonts, so that with one indication of the family, font-family: 'Muli', sans-serif;their size changes when specified through font-weight?
(thin, regular, bold) - (300, 500, 700);
This is what it looks like through the link

<link href="https://fonts.googleapis.com/css?family=Muli:300,400,600,700&display=swap" rel="stylesheet">

and with this connection
p,a,h1,h2,h3,h4,h5 {
     font-family: 'Muli', sans-serif;
}

We just specify font-weight:300, 400, 500 or 700 and the dimension is selected already in the presence of included files, so if the connection has thin, then it will be displayed at font-weight:300.
How to make the same method of changing the thickness, but on the condition that the files are loaded from our server, and not from Google?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question