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
Jochem
Jochem3y ago
you want to set justify-content: space-between; on the flex containers
Ã̶̅n̴̊͑k̴̾͌s̵̒̐e̵͗̒l̴̿͋
oh i see, it works now it has a big gap tho
Ã̶̅n̴̊͑k̴̾͌s̵̒̐e̵͗̒l̴̿͋
i've got it thanks!
Jochem
Jochem3y ago
cool! and no problem 😄
13eck
13eck3y ago
To fix the "big gap" problem set a maximum width on the parent container
Want results from more Discord servers?
Add your server