W3C home > Mailing lists > Public > www-style@w3.org > December 2015

[css-position] Pseudo class für elements that are moved by stickyness

From: Gion Kunz <gion.kunz@gmail.com>
Date: Sat, 12 Dec 2015 21:01:09 +0000
Message-ID: <CALzaRtRssKtjwwbsd_F+NWJDxfQZ-xHxKRi-XDFyVXmhEAcEJw@mail.gmail.com>
To: www-style@w3.org
It would be extremely helpful if we could use the state if an element is
offset by stickiness by using a pseudo class.

If the sticky positioning does not affect the static positioning of the
lement, the pseudo class would not be active. If that element is fixed by
stickyness it would activate the pseudo class.

Something along those lines will be a very popular use-case:

..my-herader:sticky .bulky-item {

  display: none;


What’s your take on that?


Received on Tuesday, 15 December 2015 10:45:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:59 UTC