CSS列水平排序 [英] CSS Columns order horizontally

查看:189
本文介绍了CSS列水平排序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以水平订购css列?



以此为例:


Is it possible to order css columns horizontally?

Take this for example: http://jsfiddle.net/glee/Fa722/

It's output as 1 8 15 but i would want 1 2 3 but still maintaining a grid like structure is there some trick that can be used to achieve this or is JS the way to go?

This is what i mean talking about a grid like structure:

解决方案

Not a CSS-only solution, but had the same question and found Packery can produce the columns but packed horizontally:

http://packery.metafizzy.co

这篇关于CSS列水平排序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆