There's also a way to do it like this: ``` <div style="overflow: hidden"> <div style="position: absolute"> <div style="position: fixed"> </div> </div> </div> ``` The downside of this one is that you'll have to set the initial position with the absolutely positioned parent element and be able to adjust it only with `transform` property. -- GitHub Notification of comment by orangecoloured Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4092#issuecomment-595247838 using your GitHub accountReceived on Thursday, 5 March 2020 14:09:14 UTC
This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:02 UTC