Re: [csswg-drafts] Feature to define an arbitrary number of pseudo-elements (#6169)

@SebastianZ Thanks for your input 😃 !

> Ripple effects can also be done using the CSS Painting API. See https://codepen.io/iamvdo/pen/RwWVzar.
It is an exciting API and probably way better performance. But pseudo-elements are so simpler to implement (IMO) 

> Depending on the use case this might be achieved by animating the filter property instead of using a pseudo-element.
I totally missed that. I guess there are so many hours one can keep staring unbnlinkingly at a style sheet. Thank you!

> By "scrim" I assume you mean a backdrop. There is already a `::backdrop` pseudo-element, which is meant to be used for that.
I believe that feature has some specific fullscreen behavior entangled in it. So maybe not fit for at least part of the use cases.




-- 
GitHub Notification of comment by GCSBOSS
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6169#issuecomment-812107964 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 1 April 2021 18:59:29 UTC