control the z-index of :before or :after to be below the element, Is that possibale?

Posted by adardesign on Stack Overflow See other posts from Stack Overflow or by adardesign
Published on 2010-06-13T15:56:37Z Indexed on 2010/06/13 16:02 UTC
Read the original article Hit count: 202

Filed under:
|
|
|
|

I am trying to style a element with the :before CSS property

a.someSelector{position:relative; z-index:1;}

a.someSelector:after{position:relative; z-index:0; content:" "; position:absolute; width:106px; height:108px; top:17px; left:3px;}

It seems like the :after element can not be lower then the element itself.

Is there a way [hack] to have them lower?

Thanks

© Stack Overflow or respective owner

Related posts about css

Related posts about css3