I'm looking for the way to animate pseudo-elements like :before, :after with Angular animations.
I tried to do with a query:
trigger('myanimation', [
query('.myclass:after', style({ top: 10px }))
])
but unfortunately, it did not work.
Here is the code - https://stackblitz.com/edit/angular-ofa3wa I want to make an animation by click: the bird closes eyes.
