摘要: Sometimes the flex items within a flex container do not fill all the space in the container. It is common to want to tell CSS how to align and space o 阅读全文
posted @ 2019-12-08 22:27 jane_panyiyun 阅读(293) 评论(0) 推荐(0)
摘要: The tweet embed header and footer used the flex-direction property earlier with a row value. Similarly, the items inside the .profile-name element wou 阅读全文
posted @ 2019-12-08 22:12 jane_panyiyun 阅读(190) 评论(0) 推荐(0)
摘要: The last two challenges used the flex-direction property set to row. This property can also create a column by vertically stacking the children of a f 阅读全文
posted @ 2019-12-08 22:09 jane_panyiyun 阅读(215) 评论(0) 推荐(0)
摘要: The header and footer in the tweet embed example have child items that could be arranged as rows using the flex-direction property. This tells CSS to 阅读全文
posted @ 2019-12-08 22:06 jane_panyiyun 阅读(288) 评论(0) 推荐(0)
摘要: Adding display: flex to an element turns it into a flex container. This makes it possible to align any children of that element into rows or columns. 阅读全文
posted @ 2019-12-08 22:03 jane_panyiyun 阅读(200) 评论(0) 推荐(0)
摘要: To the right is the tweet embed that will be used as the practical example. Some of the elements would look better with a different layout. The last c 阅读全文
posted @ 2019-12-08 21:51 jane_panyiyun 阅读(396) 评论(0) 推荐(0)