How to change vertical/horizontal flow and alignment of widgets in designing web App?

Hi,

I am designing web application and designing custom template. I am not finding a way to change vertical flow of containers to horizontal. Also, label is not getting aligned vertically. 

Please help us knowing vertical-horizontal flow alignment of widgets.

Thanks

you have to read this. Its very simple CSS.


https://css-tricks.com/snippets/css/a-guide-to-flexbox/