css - z-index 和 translateZ(0)的疑问
伊谢尔伦
伊谢尔伦 2017-04-17 11:15:58
0
1
551

比如



<p>dd</p> p{ background:black; width:200px; height:50px; position:relative; transform:translateZ(0); } p:before{ content:''; position:absolute; width:100%; height:100%; background:red; z-index:-1; }

为神马会如此显示?

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(1)
大家讲道理

Are you asking about z-index "failure" caused by CSS3 Transform?
http://segmentfault.com/q/1010000002480824

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template