Quick question about how to add fonts locally in css

alright, so i’m trying to add a local font from my pc to my website.

body {
  background-color: #8aadff;

@font-face {
	font-family: "NDSBIOS";
	src: url("NDSBIOS.ttf");

img {
  height: 50px;
  width: 50px;

the “NDSBIOS” font is in the same directory as the css and html file. but for some reason it does not change, is there like a per-requisite i need? like do i need to specify it’s size?

have a look at this article and see if that resolves it, happy coding :slight_smile:

Just as an alternative, there are also Google fonts that have that style, e.g. “Press Start 2P”.