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

143
Vistas
Scrolling image in block

How can i create scrolling image in display notebook with overflow notebook? Try with sticky notebook, but notebook image with shadow, and bg image doesnt overflowed.

I want it to stay background img inside the screen, but it doesn't work. Top point bg on top notebook when its reveals. Maybe some one have examples?

.project-rules__note {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 600px;
  }
.project-rules__note  > img {
    width: 53vw;
    height: auto;
    position: sticky;
    top: 0;
  }
.project-rules__note  .container {
    width: 68vw;
    height: 100vh;
    position: sticky;
    top: 0;
    z-index: 2;
   

  }
.project-rules__note  .note {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    }

 .project-rules__note   .bg-note {
      width: 68vw;
      height: auto;
      display: flex;
      align-items: center;
      justify-content: center;
      position: absolute;
      z-index: 1;
      top: 0;
      left: 50%;
      transform: translate(-50%, 0);
      }

.project-rules__note      .bg-note::before {

      }

.project-rules__note     .bg-note img {
        width: 100%;
      }
    

 .project-rules__note   .book {
      width: 100%;
      height: auto;
      display: flex;
      align-items: flex-end;
      justify-content: flex-start;


      z-index: 2;
      }

.project-rules__note .book     img {
        width: 100%;
        height: auto;
        max-height: 100vh;
      }
<div class="project-rules__note">
            <div class="container">
                <div class="note">
                    <div class="img book">
                        <img src="https://jukachu.github.io/Lottery-cards/src/notebook.png" alt="">
                    </div>
<!--                    <div class="img bg-note">-->
<!--                        <img src="./img/bgnote.jpg" alt="">-->
<!--                    </div>-->
                </div>
            </div>
            <img src="https://i.ibb.co/74d27jf/bgnote.jpg" alt="">

        </div>

enter image description here

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