Z
Z
ZaraMc2016-09-02 02:02:22
Google
ZaraMc, 2016-09-02 02:02:22

How to correctly include @import google font in css?

Hello.
A very long time ago I inserted a font from Google and everything was fine, it probably took about 7-10 months, I go into styles, and after connecting everything is white. How to connect correctly? Googled, everywhere only in html.
The main thing connected normally, but white has recently appeared. This suggests that I did something wrong. Removed and everything was ok (screen2)
0d33c1ea40184394a09b17baa9684f88.pngcb4daa7ef1574942bc38277b1058862e.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg, 2016-09-02
@politon

@import 'https://fonts.googleapis.com/css?family=Roboto';
p{font-family: 'Roboto', sans-serif;}

Here is the actual page https://fonts.google.com/specimen/Roboto?selection...

E
Elena Novodvorskaya, 2016-09-02
@ainnes

Maybe not enough ; before Dmitrijs Balcers ???
If it doesn't help, then try updating the link to the one Oleg left, above ↑

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question