P
P
Pavel Gogolinsky2015-12-22 13:35:45
PHP
Pavel Gogolinsky, 2015-12-22 13:35:45

How to display elements in a column correctly?

The site has a list of categories. Categories are arranged alphabetically horizontally.
The scheme is
a a a a b b b c c y y
d d e f f g z z z It is
3b8c779d03214b7e90ce65ddbcccf1e0.png
necessary to display these categories in alphabetical order vertically. The scheme is such
a av dzag zade
zade
i
b d ji and
How do you implement such a conclusion. Is it possible to use flexbox for such sorting, or do I need to sort on the server side and display an already prepared array of categories?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Pavel Gogolinsky, 2015-12-22
@gogolinsky

Made with CSS

display: flex;
    flex-flow: column wrap;

P
Pit, 2018-12-19
@pit6262

use column css

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question