作者:冠臻祥勇8522 | 来源:互联网 | 2023-05-18 18:59
I have a somewhat long list and want it to "wrap" into vertical columns. Say I have a list of 10 items and I want it to be 5 items per column, the layout should be like this:
我有一个很长的列表,并希望它“包装”成垂直列。假设我有10个项目的列表,我希望每列有5个项目,布局应该是这样的:
1 6
2 7
3 8
4 9
5 10
Is there a way to do this in CSS?
有没有办法在CSS中这样做?
2 个解决方案