how to use adobe fonts in next.js

Поділитися
Вставка
  • Опубліковано 15 лис 2024

КОМЕНТАРІ • 3

  • @williamcodes
    @williamcodes Місяць тому

    [2:16] - I don't think you need the `className` on line 42 since your class would now just be `yu-gothic-pr6n.className` [2:40 - body tag], which doesn't exist. But the reason it works, I believe, is that whatever script Adobe gave you was loading the font files into the browser. Hence, the CSS font-family by itself should work~~~
    Happy Hacking! 😁

    • @lijia10
      @lijia10  Місяць тому +1

      thank you!! i deleted className and it still works 👍👍

    • @williamcodes
      @williamcodes Місяць тому

      @@lijia10 yay!!!