How do i put my text and button vertically aligned?

Hi guys i need some help with aligning my text and button next to this image. How can i make my button be on the top and then text below the button?

Hello and welcome.
Try using flexbox.

main {
display: flex;
flex-direction: column;

It would be great if you share the code in codepen so we can help better.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.