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

339
Views
How do I set the height of a div to be the same as another div (which has a variable height) with Tailwind in a Nuxt application?

I have a grid with 3 columns. I want item B to be the same height as item A but Item A hasn't got a fixed height (depending on the content). I am using TailwindCSS in a Nuxt app. The margin mb-4 doesn't seem to be applied for Item B. How do I do that ??

enter image description here

<div class="grid grid-cols-3"/>
  <div class="mb-4">Item A</div>
  <div class="mb-4">Item A</div>
  <div class="mb-4 h-full">Item B</div>     
</div>
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!