<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <style> .flexVert { display: flex; flex-direction: column; } .flexIntermediateHoriz { display: flex; } .flexInnerHoriz { display: flex; background: pink; } .spacer { background: lightblue; height: 200px; width: 50px; } </style> </head> <body> <div class="flexVert"> <div class="flexIntermediateHoriz"> <div class="flexInnerHoriz">text</div> <div class="spacer"></div> </div> </div> </body> </html>