A
A
Andrew2020-05-03 11:53:38
css
Andrew, 2020-05-03 11:53:38

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

1 answer(s)
A
Arseny, 2020-05-05
@AndrewRusinas

Didn't I write this for you recently? *looks suspiciously*
Take it logically:
→relative
→→overflow
→→absolute

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question