Centering inputs vertically with flex, help?

Hi
I have text, and button inputs. Why don’t the two line up when I try to center vertically?

Yo need to specify the flex direction

flex-direction:column

it doesn’t work. I want it to be centered vertically side by side.

You have margin-top on the text input element.

2 Likes