T
T
Theory Theory2020-04-27 08:54:07
css
Theory Theory, 2020-04-27 08:54:07

Why isn't font weight set automatically by @font-face?

@font-face {
  font-family: 'Montserrat-Light';
  src: url('../fonts/Montserrat-Light.eot');
  font-weight: 300;
}

h4 {
font-family: "Montserrat-Light";
}


But in the end, y h4 font-weight: 700(sets by the browser), That is, I myself need to set font-weight: 300.
But why? After all, it's already written . @font-facefont-weight

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Abr_ya, 2020-04-27
@Narbek

If you need the "default" option, I advise you to look at:
https://meyerweb.com/eric/tools/css/reset/index.html
But based on what you write, I could set your font as normal ( along with reset), if I understand correctly what you want.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question