Inter comes with the slashed zero as a variant, which I would like to enable via custom CSS. However, the following CSS rule seems to have no effect:
.rem-text {
font-variant-numeric: slashed-zero;
}
Inter comes with the slashed zero as a variant, which I would like to enable via custom CSS. However, the following CSS rule seems to have no effect:
.rem-text {
font-variant-numeric: slashed-zero;
}
Quick fix:
@import url("https://cdnjs.cloudflare.com/ajax/libs/inter-ui/3.19.3/inter.css");
.rem-text {
font-variant-numeric: slashed-zero;
}
Thank you for taking the time to answer. I can confirm that this works.