W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2020

Re: [csswg-drafts] Make child visible outside of `overflow: hidden` (#4092)

From: RCKT via GitHub <sysbot+gh@w3.org>
Date: Thu, 05 Mar 2020 14:09:12 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-595247838-1583417351-sysbot+gh@w3.org>
There's also a way to do it like this:
<div style="overflow: hidden">
    <div style="position: absolute">
        <div style="position: fixed">
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 account
Received 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