Moving a form using flexbox

Tell us what’s happening:
trying to use flex-box to align my form left so that i can bring the from closer to the tex on the left. I have added a like to my page on codepen below.

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36.

Link to the challenge:

justify-content: space-between; is creates a space between all the elements in the parent. If you remove this the form will return to the left.

I use this guide to help me with flexbox: https://css-tricks.com/snippets/css/a-guide-to-flexbox/

1 Like