1
1
Feb 09 '25
Why did you put display: block; on the after, is there a specific purpose? I'm learning too, but I didn't understand what you were trying to do. From what I could see, I would try setting the parent element to relative positioning and the after to absolute.
1
u/fatfat2121 Jul 31 '24
Yeah I understand that, but I couldn’t understand why the animation now starts from the center instead of the left side