L
L
leni_m2019-07-16 17:17:24
css
leni_m, 2019-07-16 17:17:24

How to include full font?

Good afternoon, I can’t understand why font-weight only works in two modes:
5d2ddb3431551307190281.png
Although from the same browser I open google fonts (where I got it from) a demonstration of the font and all the values ​​​​work for them: I include
5d2ddb83bc62e022438715.png
the font in css like this:

@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');

in css properties I set it like this:
.el {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2019-07-16
@leni_m

<link href="https://fonts.googleapis.com/css?family=Montserrat:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&display=swap&subset=cyrillic,cyrillic-ext,latin-ext" rel="stylesheet">

CUSTOMIZE tab in the selected fonts window

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question