You Are Using Fonts in CSS the WRONG WAY | Single Font Face Can Do it All | Future of Font Face

You Are Using Fonts in CSS the WRONG WAY | Single Font Face Can Do it All | Future of Font Face

WebStylePress

1 год назад

2,010 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@outlanderoutlander3998
@outlanderoutlander3998 - 05.09.2023 21:04

Thank you, so this approach only is practical if we use ttf fonts? It's not possible with woff2 fonts?

Ответить
@Gaston-climbing
@Gaston-climbing - 20.06.2023 00:37

Thank you but I can't make it work. I think I'm a lil bit lost with the url. I tried to things : 1 - url('static/fonts/OpenSans-VariableFont_wdth,wght.ttf') and 2 - 'static/fonts/OpenSans-VariableFont_wdth,wght.ttf'

When I inspect the code the css classes are taken into account but the formatting isn't changing. Do you have any idea what's wrong ?

Ответить
@NuhAleph
@NuhAleph - 06.02.2023 17:07

thanx, How to check my ttf font is an variable font ?

Ответить