I am looking to achieve equal width and spacing for columns without using the width, min-width, max-width
properties. Can anyone help me accomplish this using flex or any other method?
https://i.sstatic.net/xo56M.png
.d-flex {
display: flex;
}
.d-flex .col {
margin: 5px;
background: #7adaff;
}
<div class="d-flex">
<div class="col">
Lorem Ipsum is simply dummy text of the printing and typesetting industry
</div>
<div class="col">
Lorem Ipsum is simply dummy tex
</div>
<div class="col">
Lorem Ipsum
</div>
<div class="col">
Lorem Ipsum
</div>
<div class="col">
Lorem Ipsum is simply dummy text of the printing and typesetting industryLorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type
specimen book. It has survived not only five centuries,
</div>
</div>
If you have any questions, feel free to leave a comment.