Expanded Font Fallbacks

Expanded Font Fallbacks
TL;DR: @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.
Longer Read: 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?
Read the full story at Css-tricks →
Related Skills: CSS
Wider Reading: MDN Learn Web Development — CSSweb.dev Learn — CSSCoursera — CSS

💬 0 comments

No comments yet — be the first to say what you think.