I read a lot about position: sticky
in CSS. And I know, it does not work with overflow: hidden
and display: flex
. But I want to stick a button on top, that is positioned on the right of another element.
This is the example:
https://jsfiddle.net/L83ba9w4/
My sticky button is within another DIV to float on the right. But therefore position: sticky
does not work.
Is there any other solution for this?