Flex layout

Using flex to write an adaptive layout, the code comes from the MDN document

HTML structure



I am article



< /div>
I am footer

CSS