Duda con Font-weight en la regla
Profesor, porque cuando defino la regla y la uso en algun selector no me reconocer el weight, sino que tengo que escribirlo otra vez en el selector en el que la uso:
h1, h2, h3, h4, h5, h6 {
margin-top: 0;
color: var(--title-color);
font-family: var(--title-font);
font-weight: 500; <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
line-height: var(--title-line-height);
}
CODIGO
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 500;
font-display: swap;
src: local('Montserrat Medium'), local('Montserrat-Medium'), url(https://fonts.gstatic.com/s/montserrat/v15/JTURjIg1_i6t8kCHKm45_ZpC3gnD_g.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
