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

322
Views
Fuentes personalizadas React y Tailwind desde un archivo ttf

Oye, quiero agregar algunas fuentes personalizadas de los archivos.

Estos son los archivos de fuentes que quiero cargar.

Estos son los archivos de fuentes.

Mi index.css

 body { margin: 0; padding: 0; } @import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500&display=swap"); @tailwind base; @tailwind components; @tailwind utilities;

Gracias por adelantado

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Si no le importa perder tiempo obteniendo la ruta relativa a cada una de las fuentes, puede hacer esto

 /* local if the font is installed */ @font-face { font-family: 'Font Name'; src: local('Font Name'), url("./FontName.ttf") format('truetype'); }
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!