D
D
Dauren S2015-11-18 13:06:21
Fonts
Dauren S, 2015-11-18 13:06:21

How to install a font on a site?

@font-face {
font-family: 'exo_2.0regular';
src: url('exo-20_allfont.ru-webfont.eot');
src: url('exo-20_allfont.ru-webfont.eot?#iefix') format('embedded-opentype'),
url('exo-20_allfont.ru-webfont.woff2') format('woff2'),
url ('exo-20_allfont.ru-webfont.woff') format('woff'),
url('exo-20_allfont.ru-webfont.ttf') format('truetype'),
url('exo-20_allfont.ru- webfont.svg#exo_2.0regular') format('svg');
font-weight: normal
font-style: normal
}
The font is in the same folder as css, there are no red lines in newwork, but the font is not applied to the text, in short it does not work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Taratin, 2015-11-18
@Taraflex

Just connect the font from here https://www.google.com/fonts
There is Exo 2 with Cyrillic support

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question