main { display: flex; flex-direction: row; #left { flex: .5; } #right { flex: .5; } }