Event in place of Sticky

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