z-Index behaviour on pseudo elements

前端 未结 2 1705
余生分开走
余生分开走 2021-02-07 20:50

see:

http://jsfiddle.net/Kq2PY/

the div is relative with z-index 5, and the :after thing is absolute with z-index 2.

So shouldn\'t :after be behind the div?

2条回答
提交回复
热议问题