Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

190
Visualizações
How to create a div with fixed section in the left and scrollable section in the right using Tailwind CSS?

I am trying to create a div with a fixed left section & scrollable right section and other divs below them. I went through many blog posts and I am not able to figure out, how to create this particular page in react JS using Tailwind CSS. I am using react JS & Tailwind CSS. I have added the structure of my page and also added a similar page for reference.

Structure of my page :

<div className="mainDiv">
  <div className="rowDiv">
    <div className="staticDiv">
      <ProductImages 
       images={productData.mediaUrls} 
      />
    </div>
    <div className="scrollableDiv">
      <ProductInfo
       productData={productData}
      />
    </div>
  </div>
  <div className="relatedProductsDiv">
   <RelatedProducts 
    sectionHeading="Related products" 
   />
  </div>
  <div className="recentlyViewedProductsDiv">
   <RecentlyViewedProducts
    sectionHeading="Recently viewed products" 
   />
  </div>
</div>

Similar page: Click here to view a similar page

  1. div with className staticDiv should scroll only after scrollableDiv completes its full scroll.
  2. once scrollableDiv finishes its full scroll, both the divs (staticDiv and scrollableDiv) should scroll normally to show relatedProductsDiv and recentlyViewedProductsDiv.
  3. Please click here to view a similar page to get my question in more detail.
  4. I am trying to create a page similar to the one in the link.
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda