Answer the question
In order to leave comments, you need to log in
Why might a downloaded local font not be applied?
Maybe I'm doing something wrong? I've been fiddling around for a long time, I need the opinion of an outsider.
Fonts are pulled from _fonts.scss
@font-face {
font-family: 'FiraSans-Regular';
src: url('../fonts/FiraSans-Regular/FiraSans-Regular.woff') format('woff');
src: url('../fonts/FiraSans-Regular/FiraSans-Regular.svg') format('svg');
font-weight: 400;
}
body p {
color: red;
font-family: 'FiraSans-Regular';
font-size: 24px;
}
Answer the question
In order to leave comments, you need to log in
Error in the presence of two src
src: url('../fonts/FiraSans-Regular/FiraSans-Regular.woff') format('woff');
src: url('../fonts/FiraSans-Regular/FiraSans-Regular.svg') format('svg');
src: url('../fonts/FiraSans-Regular/FiraSans-Regular.woff') format('woff'),
url('../fonts/FiraSans-Regular/FiraSans-Regular.svg') format('svg');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question