This is a premium alert message you can set from Layout! Get Now!

Expanded Font Fallbacks

0

I’m replacing the heading font in a project with a new variable file. Easy enough to register the new font with @font-face right?

@font-face {
  font-family: "NewFont";
  src: url("./fonts/NewFont-Variable.woff2") format("woff2");
  font-display: swap;
  font-weight: 200 700;
}

It’s declared on the …


Expanded Font Fallbacks originally handwritten and published with love on CSS-Tricks. You should really get the newsletter as well.



from CSS-Tricks https://ift.tt/mZIbHjU
Gain $200 in a week
via Read more
Tags

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.
Post a Comment

Search This Blog

To Top