In this example, we change the percentage of flex to create different layouts for different screen sizes.
Resize the browser window to see that the direction changes when the screen size is 800px wide or smaller.