B
B
Boris Belov2015-10-12 21:13:24
css
Boris Belov, 2015-10-12 21:13:24

How to make Column-count alternate not vertically, but horizontally?

Good evening.
Like a CSS variable

-moz-column-count:3;
    -moz-column-gap: 3%;
    -moz-column-width: 33%;
    -webkit-column-count:3;
    -webkit-column-gap: 3%;
    -webkit-column-width: 33%;
    column-count: 3;
    column-gap: 3%;
    column-width: 33%;
force to go
1 4 7
2 5 8 
3 6 9

a
1 2 3 
4 5 6 
7 8 9

I searched for answers to this question on the Internet - I did not find it.
I hope for your help

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Goryachev, 2015-10-12
@iborisbelov

Why not display: inline-block?
You align them yourself so, why then complicate?

D
Denis Ineshin, 2015-10-12
@IonDen

Column-count splits the content into columns. Speakers! Not rows.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question