A
A
Anton2021-07-13 15:46:09
css
Anton, 2021-07-13 15:46:09

The css property does not work correctly, column-count works differently in chrome and mozilla, how to fix it?

Hello.

As for the css property, who can tell me how to make the same result in chrome and mozilla.
I divide the categories inside the block through css properties.

-moz-column-count:3; /* Firefox */
-webkit-column-count:3; /* Safari and Chrome */
column-count:3;


How it works in chrome: (everything is fine in chrome)
60ed8a6bb35fb498916619.png

And how it works in mozilla (you can see that it divides crookedly)
60ed8a987d35c764751093.png

How can I fix this?

You can feel the catalog here: (by the way, an adaptive modern catalog), I have been working on it for a long time.
https://jsfiddle.net/2pj3dgkh/3/

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey delphinpro, 2021-07-13
@delphinpro

https://developer.mozilla.org/en-US/docs/Web/CSS/p...

T
tantumus21, 2021-07-13
@tantumus21

https://stackoverflow.com/questions/46055736/css-c...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question