Skip to content
loading...
Discussion
markdown guide
 

You can search for a font you like in e.g. Google Fonts and then import them into your CSS document like this:

@import url('https://fonts.googleapis.com/css?family=Font+Name&display=swap');
 
 

Hey Calin, unfortunately out of the box there is no font-family which would result in a 8bit font. You should use a custom font on your website by using the @font-face at-rule:

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

You can read more about the @font-face at-rule on MDN and CSS-Tricks.

 
Classic DEV Post from Jul 30 '19

PublishTo.Dev: Scheduling article publishing on dev.to

PDS OWNER CALIN (Calin Baenen) profile image
I am a 13 (as of Oct 30 of 2019) yr/o developer (I have been developing mini-projects for 4, years now, since I was 9), who makes projects in languages like: Java, HTML, Python 3, JS, CSS, and C#.