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

> 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?
 >
> Cheers
> Gion

This has been discussed heavily on the WICG in this thread (sorry if you're already on that thread): http://discourse.wicg.io/t/a-pseudo-class-for-when-an-element-is-stickily-spec-term-positioned/947/3

But what Tab states would be one of the primary reasons against implementing something like this: http://discourse.wicg.io/t/a-pseudo-class-for-when-an-element-is-stickily-spec-term-positioned/947/5?u=gregwhitworth


After reading that thread, please feel free to reach back out to us, or preferably right on the WICG thread itself if you have any additional questions or ideas.

Thanks,
Greg

Received on Tuesday, 15 December 2015 21:26:08 UTC