Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom font loading in CSS3
#1
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;
}
Also follow me on Youtube for videos about video games:
https://www.youtube.com/channel/UCxfkGVU...2mQ/videos
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  CSS Custom Scrollbar Styles (Webkit and Firefox) Qomplainerz 0 445 07-26-2023, 07:52 PM
Last Post: Qomplainerz
  CSS Custom properties (Variables) Qomplainerz 0 287 07-26-2023, 07:04 PM
Last Post: Qomplainerz

Forum Jump:


Users browsing this thread: 7 Guest(s)