Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

202
Views
Cargue la fuente local usando css

Estoy alojando un proyecto de javascript localmente y tratando de usar la fuente local, pero parece que no está cargada, aquí está mi código style.css, ipixregular es la fuente que estoy tratando de usar, ¿puedo saber cuál podría ser el problema? ¿Y necesito referirlo en html? Gracias

 @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 answers
Answer question

0

Me di cuenta de que está usando "frente" en lugar de "fuente" en sus URL, para ser claros, ¿es este el nombre de carpeta correcto? Podría ser simplemente un error tipográfico.

Es decir, desde: url('front/ipix-webfont.eot') a: url('font/ipix-webfont.eot')

about 4 years ago · Juan Pablo Isaza Report

0

@import carga las reglas de estilo de fuente @font-face carga la fuente

No entiendo por qué tienes la regla font-family: "Press Start 2P"; ya que no es una familia de fuentes válida.

Podrías probar body * {font-family: ipixregular;}

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!