码迷,mamicode.com
首页 > Web开发 > 详细

[CSS3] Using flex-direction to layout content horizontally and vertically

时间:2016-05-02 15:34:11      阅读:185      评论:0      收藏:0      [点我收藏+]

标签:

The Flexbox css spec allows for more adjustable layouts. The flex-directionproperty allows you to easily change the layout on the children of an element without making any changes to the dom, which is particularly useful when combined with media queries.

 

Idea is when greater then 599px, it will show in row layout, when it goes down under 599px, it will show in column layout.

 

[CSS3] Using flex-direction to layout content horizontally and vertically

标签:

原文地址:http://www.cnblogs.com/Answer1215/p/5452360.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!