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

302
Views
CSS equivalente a una solución jQuery para establecer la altura máxima de todos los elementos

Con el código jQuery a continuación, podría restablecer la altura de 3 elementos al máximo de ellos. Me gustaría reemplazarlo con una solución basada en CSS.

 // Set max height. var maxHeight = 0; var prevEntrySelector = null; $(".send-submit-look-col .icon-description").each(function(index) { if ($(this).height() > maxHeight) { maxHeight = $(this).height(); } // Set height of previous entry and this entry to maxHeight. $(this).height(maxHeight); if (prevEntrySelector != null) { prevEntrySelector.height(maxHeight); } // this - this selector - this story entry console.log( "Height: " + maxHeight ); prevEntrySelector = $(this); return true; });

La siguiente imagen muestra la sección.

ingrese la descripción de la imagen aquí

¿Podría por favor ayudar a encontrar la solución CSS? Aquí está la página

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

0

Según su sitio web, esto podría solucionar su problema, flex-grow: 1 hará que el div llene el espacio máximo.

 .send-submit-look-row .send-submit-look-col { display: flex; flex-direction: column; } .send-submit-look-row .send-submit-look-col .icon-description { flex-grow: 1; }
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!