Back to CSS

CSS Tutorial

Fonts

Set font families, font weights, and readable typography.

Fonts define the personality and readability of a website.

Use font stacks so the browser has fallback options if a font is unavailable.

css
.title {
  font-family: "Noto Sans", Arial, sans-serif;
  font-size: 40px;
  font-weight: 700;
}