C
C
celtrix2019-10-25 13:16:12
css
celtrix, 2019-10-25 13:16:12

How to solve this problem with horizontal scrolling of child elements in the menu?

Hey! Help solve the problem.
When horizontally scrolling child elements, the background disappears. Item does not stretch to the full width of the block.
Also, the btn button should always be pressed to the right border of the visible part of the menu.
https://jsfiddle.net/celtrix/0tfL8r7u/7/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xversus, 2019-10-25
@xversus

move position: relative to .MenuMainItemGroup, background-color to the same place, since you still have the same background everywhere.
But don't do it at all if you don't want to run into some kind of difficulty all the time. For layout of tables use table.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question