
上QQ阅读APP看书,第一时间看更新
Using flex-item layout
We've already seen practical examples of AMP's fixed and responsive layouts. Another useful layout is flex-item. Flex items take up all available space in a display: flex parent. There are many layout possibilities, so we'll just give a quick overview of some of them, and later in the chapter we'll see how to apply the flex-item layout to text and images in our article page example.