E
E
Egor Nevedov2016-06-11 22:29:03
css
Egor Nevedov, 2016-06-11 22:29:03

How to make such an adaptive menu with distribution?

Hello!
For several hours now I can’t figure out how to implement such an idea:
7ab736c373d44088bbc91c39fdccdc11.PNG
Namely, how to make it so that when at least one item does not fit in the existing rows, a new row is added and all items are distributed evenly horizontally across all rows?
Maybe flex is possible?
Similar in behavior, but not suitable for me, what I managed to find (suddenly someone will come in handy) - dabblet.com/gist/2030070
See what I managed to do
UPD:
Came to this option on js

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Smykov, 2016-06-11
@Chronosms

Media screen CSS requests are required. Otherwise it is impossible. Look... Doesn't suit him...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question