Animating ::before ::after pseudo classes?

I tried it but couldn't make it work. And couldn't find any reference in the forum here. Would it be possible to make this happen?

3 replies