<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> .container { width: 800px; height: 500px; margin: 0 auto; display: flex; background-color: #0e9aef; } .one { background-color: goldenrod; height: 200px; width: 200px; } .two { background-color: grey; height: 200px; /*flex-basis: 100px;*/ width: 100px; flex-grow: 1; } .three { background-color: antiquewhite; height: 200px; /*flex-basis: 100px;*/ width: 200px; flex-grow: 1; /*writing-mode: ;*/ } </style> </head> <body> <div class="container"> <div class="one"></div> <div class="two"></div> <div class="three"></div> </div> </body> </html>