O
O
Oleg2016-11-17 10:09:35
Sass
Oleg, 2016-11-17 10:09:35

How to connect google fonts to sass?

For CSS, Google gives this line:
Dmitrijs Balcers url(' https://fonts.googleapis.com/css?family=Open+Sans+... ,700&subset=cyrillic');
This line does not work for SASS:
Dmitrijs Balcers ' https://fonts.googleapis.com/css?family=Open+Sans+... ,700&subset=cyrillic'
Please tell me what is correct?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey B., 2016-11-17
@nugget-ekb

You show the code, not links to the font.
dl1.joxi.net/drive/2016/11/17/0000/2132/47188/88/a...
codepen.io/anon/pen/aBBOvY

S
sergey, 2016-11-17
@zorro76

Strange question: what's the actual difference, connect it with the line you got with google fonts in the header of your project and don't reinvent the wheel.

<link href="https://fonts.googleapis.com/css?family=Lato:100i,300,400,400i,700,900" rel="stylesheet">

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question