M
M
Maxim Ivanov2020-11-26 13:53:06
css
Maxim Ivanov, 2020-11-26 13:53:06

Does it make sense to use flexbox if the padding between elements is not proportional? If there is no point, then what to use?

I need it to be like here (adaptive) -Tyk .
You can do it like I did in this link - just justify-content: space-between; but I need the left and right padding of the .navbar class to be completely different...
Left is 363px and right is 295px. If I remove justify-content: space-between; and set for .navbar indents on the left 363px and right 295px, then all content will go off the screen - Tyk .
What should I do in such a case?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya Olovyannikov, 2020-11-26
@cannibal_corpse

You need to limit the size of the wrapper for the navbar, inside, for example, a list that has just these "complex" indents. Space-between is just the way.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question