In short, it's possible using flexbox. Using flexbox, you can alter the layout without changing much in the CSS.
Have a look at this pen (http://codepen.io/nirmalyaghosh/full/yObVYr/).
I guess you're trying to implement something like this.
It's using flexbox and setting the flex-direction property to either row or column, you can achieve what you want.