Answer the question
In order to leave comments, you need to log in
Does it make sense to specify the font weight in styles if only one is added to font-face?
For example, in font-face , a font of only a certain thickness (other than Regular) is included:
@font-face {
font-family: 'Spectral';
font-style: normal;
font-weight: 200;
src: local('Spectral ExtraLight'), local('Spectral-ExtraLight'),
url('/fonts/Spectral/Spectral-ExtraLight.woff2') format('woff2'),
url('/fonts/Spectral/Spectral-ExtraLight.woff') format('woff');
}
Answer the question
In order to leave comments, you need to log in
There's a meaning.
If for some reason the browser does not load your font, it will use some system font and apply the specified font-weight to it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question