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

167
Views
DIV In a Column

Hey I want my divs to appear in a single column like enter image description here, but I am unable to achieve desired results.I want exact same 6 containers in multiple rows and a single column with the same styling as of this div. Any help will be appreciated

.dot:hover{
        box-shadow: 0 15px 30px rgba(0,0,0,.5);
    }
    .dot{
        position: absolute;
        top: 30%;
        left: 25%;
        transform: translate(-50%,-50%);
        padding: 20px;
        box-sizing: border-box;
        background: #D3D3D3;
        border-radius: 4px;
        box-shadow: 0 5px 15px rgba(0,0,0,.5);
        display: flex;
        width: 600px;
        transition: .5s;
    }
    .dot .imgBx{
        width: 150px;
        flex: 0 0 150px;
    }
    .dot .imgBx img{
        max-width: 100%;

    }
    .dot .content{
        padding-left: 20px;
    }
    .dot .content p{
        text-align: justify;
    }
    
    .right{
        float: right;
        flex-wrap: wrap;
        flex-direction: column;
    }
<div class="right">
    <div class="dot">
        <div class="imgBx">
            <img src="{% static 'images/banner/bg.PNG' %}">
        </div>
        <div class="content">
            <p>Bangladesh's apparel exporters concerned as NBR firm on bond licencing</p>
        </div>
    </div>
    
</div>

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

0

this line

position: absolute;

makes all your .dot DIVs render on the same position relative to the screen (in this particular case), i suggest removing it

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!