[csswg-drafts] [selectors] add ::transition (styles applied during transition) (#5823)

yairEO has just created a new issue for https://github.com/w3c/csswg-drafts:

== [selectors] add ::transition (styles applied during transition) ==
# `::transition`

I would like to suggest creating such a useful selector, for styling elements **only** during transition (not *animation*).

### Block the user from toggling a thing during transition 
.elm::transition{ pointer-events:none }  

### Hide specific children during transition
.elm::transition > .foo{ display:none }  


It will also open the door to some interesting effects:

### Every time `.elm` is transitioned, apply a filter
.elm::transition{ filter:blur(2px) }  

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5823 using your GitHub account

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

Received on Thursday, 24 December 2020 15:55:07 UTC