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

195
Views
Next.JS I want to do CSS in such a way that it looks in a Proper stack something like (Hulu Clone img)

NEXT.JS WebApp :- I want to align divs in such a way that it look like this hulu clone

Output

Hulu Clone

Code here

JS Code :-

<div className={styles.div1}>
      <Link href={`/posts/${slug}`} className={styles.link}>
        <div className={styles.div2}>
          <h1 className={styles.h1}>{title}</h1>
        </div>
      </Link>
</div>

CSS Code :-

.div1 {

    background: linear-gradient(to right, rgb(255, 118, 193), rgb(168, 86, 255);
    width: 40vw;
    margin:1vh;
    height: 15vh;
    border: #000000 1px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgb(0, 0, 0);
    padding: 1em;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.div3 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    float: left;
    overflow: hidden;
}

Output after adding this CSS

Output

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