Fonts
Load and use font families with fallbacks.
Easy
@font-face { font-family: "Inter"; src: url(inter.woff2) format("woff2"); font-display: swap; }
body { font-family: "Inter", system-ui, sans-serif; }
Variable fonts provide many weights in one file.
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.