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

88
Vistas
React carousel preview

How do I ensure that the background image covers the entire page enter image description here

Code

const settings = {
    showArrows: false,
    swipeable: true,
    stopOnHover: true,
    autoPlay: true,
    infiniteLoop: true,
    transitionTime: 1000,
    showIndicators: false,
    useKeyboardArrows: true,
    emulateTouch: true,
    showThumbs: false,
}

return (

    
    <Carousel  {...settings}>
        <div className="about-banner-one">
            <div className="about-banner-content">
                <img className="about-image" alt="" src={image1}/>
                    
            </div>
             ...
        </div>

    </Carousel>

the css

.about-image{
    width: 100vw !important;
    height: 60vh !important;
}
.about-banner-one{
    padding: 0;
    height: 60vh;
    /* background-image: linear-gradient(to right, rgba(0, 0, 0, 0.955), rgba(0, 0, 0, 0.784)), url(../../../assets/cargoplane\ 2.jpg); */
    background-attachment: fixed;
    background-size: cover;
    background-position: bottom;
    position: relative;
    bottom: 20px;
    width: 100vw;
}
...

I had tried putting the as background image of the div (explains different div names) at css but the image wont show. How do I get rid of the previous image highlighted?

And how do i do the transitions?

about 4 years ago · Juan Pablo Isaza
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