How can I create this effect with display flex?
I currently have 2 columns with float elements but that isn't quite reponsive, and when i use display flex on each row the fields aren't aligned because of the different length of the texts,
i'll make a codepen shortly
6 Replies
you want to set
justify-content: space-between;
on the flex containersoh i see, it works now
it has a big gap tho
i've got it
thanks!
cool! and no problem 😄
To fix the "big gap" problem set a maximum width on the parent container