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

151
Vistas
Is there a reason as to why my background image is repeating when I put it in production in Netlify but not in react itself?

I have completed a project that has background images and when I'm in localhost the background image fits perfectly and does not repeat but when I try to add it to Netlify the website's background images does not fit perfectly and starts repeating.

crew CSS file:

.main-content-crew{
    height: 100vh;
    background-image: url('../../../images/crew/background-crew-desktop.jpg');
    width: 100vw;
}

the web page in localhost: localhost pic

the netlify webpage: Netlify pic

home page CSS file:

.main-content-home{
    background: url('../../images/home/background-home-desktop.jpg');
    min-height: 100vh;
    width: 100vw;
}

Localhost pic: Localhost pic

Netlify pic: Netlify pic

about 4 years ago · Santiago Trujillo
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