QP School
Custom font loading in CSS3 - Printable Version

+- QP School (https://qomplainerzschool.lima-city.de)
+-- Forum: Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=3)
+--- Forum: CSS3 Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=5)
+--- Thread: Custom font loading in CSS3 (/showthread.php?tid=5186)



Custom font loading in CSS3 - Qomplainerz - 07-26-2023

Description:

You can use @font-face to load custom fonts in your web pages. This way, you can have more control over typography and design.

Example:

@font-face {
  font-family: "CustomFont";
  src: url("path/to/custom-font.woff2") format("woff2"),
      url("path/to/custom-font.woff") format("woff");
}

body {
  font-family: "CustomFont", sans-serif;
}