master
.wrapper > * { flex: 1; } .wrapper { display: flex; height: 100%; width: 100%; } @media screen and (max-width: 600px) { .wrapper { flex-direction: column; } }