Home» Forum» Web & Tech» Custom fonts on neocities

Custom fonts on neocities

Back to Web & Tech

I've been trying to add a custom font to my neocities website for a while now but just cannot seem to figure it out. I was following a reddit tutorial most recently but just could not do it. Any tips?

@Jookia one thing to consider when setting custom fonts ofc

@font-face {
  src: url("link2font.woff2") format('woff2');
}

setting a format declaration rule in the @font-face css rules helps to speed up rendering  

and also forces the browser to not download a whole font just to check metadata stuff 

:star:




worst.gif

You must be logged in to reply.