Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

201
Vistas
Load local font by using css

I am hosting a javascript project on locally and trying to use the local font, but it seem not loaded, here is my style.css code, ipixregular is the font i am trying to use, may I know what might be the problem? and do I need to refere it in html? thanks

@import "@fontsource/press-start-2p/index.css";
@import "@16bits/nes.css/css/nes.min.css";

@font-face {
  font-family: 'ipixregular';
  src: url('front/ipix-webfont.eot');
  src: url('front/ipix-webfont.eot?#iefix') format('embedded-opentype'),
    url('front/ipix-webfont.woff2') format('woff2'),
    url('front/ipix-webfont.woff') format('woff'),
    url('front/ipix-webfont.ttf') format('truetype'),
    url('front/ipix-webfont.svg#ipixregular') format('svg');
  font-weight: normal;
  font-style: normal;

}

* {
  font-family: ipixregular
}

.nes-btn {
  font-family: "Press Start 2P";
}

about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

I noticed that you are using "front" instead of "font" in your URLs, to be clear - is this the right folder name? Could simply be a typo.

I.e., from: url('front/ipix-webfont.eot') to: url('font/ipix-webfont.eot')

about 4 years ago · Juan Pablo Isaza Denunciar

0

@import loads the font style rules @font-face loads the font

I do not understand why you have the rule font-family: "Press Start 2P"; as that is not a valid font family.

You could try body * {font-family: ipixregular;}

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda