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

143
Views
Flexbox grow no está haciendo que un elemento llene todo el espacio vacío, y se están creando algunos espacios en blanco mágicos 🤔

Quiero lograrlo para que el cuadro de correo electrónico se estire hasta el final y toque el botón de registro.

captura de pantalla

Aquí está mi código que he usado para intentar hacerlo ahora mismo:

 <div class="mb-12 inline-block"> <h1 class="text-7xl font-bold mt-9">A better way to</h1> <h1 class="indent-9 text-7xl font-bold text-[#6E6BFF]">store your code</h1> <div class="mt-12 max-w-[610px]"> <p class="mb-8">With RepoZoid, storing your own code is as easy as pie. Just add a new entry, paste your code in - and you're off to the races.</p> <p>It's as simple as 1, 2, 3 - with sharing options and more coming in the future!</p> </div> <div class="flex flex-row"> <div class="grow"> <input class="w-[100%] text-[#9c9ea5] py-3 px-4 rounded-md" placeholder="Enter your email" type="email" name="emailinput"> </div> <div class="flex grow justify-end"> <button class="px-4 py-3 rounded-md bg-[#6E6BFF] text-white">Sign Up</button> </div> </div> </div>

¿Estoy haciendo algo mal?

Saludos cordiales,
Enrique.

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

0

Basado en el comentario de AngelSalazar:
El contenedor div para el botón no debería haber grow . En lugar de flex grow justify-end , usa ml-4 .

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!