Why is the after elemant appearing in front of my main elemaint even after i specified z-index
8 Replies
what are you trying to do?
oh a css border animation
so that blue part is meant to appear behind the white part
doesn't work
no matter how much i reduce the z index
My brain is having a neuclear explosion
why do you need an
:after
for that?umm, a border can't be animated like that?
i see what you want
how about you use a :before and :after?
oh thats a good idea, but i need to make them appear glow, there isn't a third pseudo element is there?
basically, the before element meant to have same stats as the after, + filter: blur(2px);
So any other ideas
svg
you can do animations with it
Try removing your z-index on the parent #logo element. Removing that should then push it's pseudo elements behind it.