V
V
viktorulyushev2017-02-07 10:04:27
Fonts
viktorulyushev, 2017-02-07 10:04:27

How to use Google Fonts?

On the Google Fonts website, I choose several fonts I need, here is a link

<link href="https://fonts.googleapis.com/css?family=Roboto:400i,500" rel="stylesheet">

in css it offers to insert this
font-family: 'Roboto', sans-serif;
But how to use them separately? For example, for some texts I need 400i, and for others 500

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aRegius, 2017-02-07
@viktorulyushev

Via font-weight :

font-weight: 400i;
или
font-weight: 500;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question