I implemented the font Inter into my website following their web site instructions: https://rsms.me/inter/download/ for Web Use.
However, I'm noticing that setting my font-weight to 100, 200, 700, 800, etc. doesn't matter, all that happens is for 600 and up my font is bold, and 500 and below my font is normal. How can I make it so the font weight is set for each number?
/* IMPORTANT */
:root {
font-family: Inter, sans-serif;
font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
}
@supports (font-variation-settings: normal) {
:root { font-family: InterVariable, sans-serif; }
}
.btnText {
color: blue;
font-weight: 500;
}
.boldBtnText {
color: blue;
font-weight: 600;
}
<div>
<p class="btnText">
normal
</p>
<p class="boldBtnText">
bold
</p>
</div>
You can try to just import the css from your css like above. I just tested using the different font weight.