Answer the question
In order to leave comments, you need to log in
How to properly include fonts in rails?
Rails 3.2
Everywhere in the project such code is used, I do it for my font - it is not displayed.
assets/stylesheets/slick/slick-theme.css
/* Icons */
@font-face {
font-family: 'slick';
font-weight: normal;
font-style: normal;
src: asset-url('slick.eot', fonts);
src: asset-url('slick.eot?#iefix', fonts) format('embedded-opentype'),
asset-url('slick.woff', fonts) format('woff'),
asset-url('slick.ttf', fonts) format('truetype'),
asset-url('slick.svg#slick', fonts) format('svg');
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question