W3C home > Mailing lists > Public > www-style@w3.org > March 2017

Event in place of Sticky

From: Jerome D. <jerome.dupouts@gmail.com>
Date: Sun, 12 Feb 2017 15:18:09 +0000
Message-ID: <CAJRTu-S8ZHwJPHWcSzV1cS9kYPDm4t+bsvgA5kpJ-oKu9wCMkg@mail.gmail.com>
To: www-style@w3.org
I think it would be interesting to delete the sticky position of blocks. In
my opinion, this propriety is too restrictive. The ideal would be to play
with events related to the scroll or even to the display of Viewport. Something
like:


mon_objet {width : 100px},

mon_objet: onViewportLeave {position: absolute; top: 0px; left: 0px; width:
100%}


Why not some media Queries too :


@Media scroll and (scroll-up: 300px;) {

                mon_objet {width : 100%}

}


And another thing to finish, it would be great to play with the scroll


mon_objet:hover  {scroll-up : 1vm}


Thank you for reading
Received on Friday, 3 March 2017 14:57:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:06 UTC