i will like to know how can I add animation to a pseudo class ::before, for example
I have a rectangle with some text in it, I created a pseudo class :: before with 100% width and height, so I created a border top and bottom of 1rem, so I’m trying to create an animation where the pseudo slides from left but when I apply it al also animates the parent, can same one help me to figure this out.
I tried targeting with a class too but same it animates all of it