use javascript to make make width of two divs same code example
Example: css how to make a elements of same type start at same height
CSS:
.row {
display: flex;
}
.col {
flex: 1;
padding: 1em;
border: solid;
}
HTML:
<div class="row">
<div class="col">Lorem ipsum dolor sit amet, consectetur adipisicing elit.</div>
<div class="col">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ad omnis quae expedita ipsum nobis praesentium velit animi minus amet perspiciatis laboriosam similique debitis iste ratione nemo ea at corporis aliquam.</div>
</div>