Answer the question
In order to leave comments, you need to log in
How to show an absolutely positioned block on top of a scrollable block?
Hello, I don’t know how to formulate a question for Google, so I’ll show it clearly.
Example
In a block with overflow-y: auto, the .absolute block adds horizontal scrolling. But I need it to be shown on top, as if there was no scrolling. overflow-x: visible looks like a solution but doesn't work for some reason.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question