Answer the question
In order to leave comments, you need to log in
Css overflow in flex container?
Good afternoon. I have a flex container with buttons and a horizontal scroll ( Click ). How can I make sure that elements that do not fit on the screen are not cut off in the middle, but simply not visible?
Answer the question
In order to leave comments, you need to log in
If I understood you correctly, you want buttons that do not fit into the parent to be automatically hidden and not spoil the view with a cropped piece?
Here is a similar implementation, only instead of throwing elements into a burger, you hang a property on them display: none;
https://codepen.io/lukejacksonn/pen/PwmwWV
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question