简体   繁体   English

ipad上的Z-index问题(Chrome / Safari)

[英]z-index issue on ipad (chrome / safari)

I'm having an issue with z-index in iOS, you can see both images here http://imgur.com/n7QCj,BOIHo (desktop and iOS). 我在iOS中遇到z-index问题,可以在http://imgur.com/n7QCj,BOIHo (台式机和iOS)上看到这两个图像。

http://bit.ly/Q47DBP http://bit.ly/Q47DBP

I have z-index:-11; 我的z-index:-11; in my .fondoTop and if I set to a value equal or higher to 0 puts in the back the logo and .redes div. 在我的.fondoTop中,如果我将值设置为等于或大于0,则将徽标和.redes div放在后面。 I tried to modify the z-index of .redes and logo div 我试图修改.redes和徽标div的z-index

Thanks 谢谢

It's because of your .container_12. 这是因为您的.container_12。

All have z-indexes except that one. 除一个以外,所有索引都具有z索引。 So you could simply add this styles to your .container_12 因此,您只需将此样式添加到.container_12

position:relative;
z-index:20;

and then you could put a z-index higher than 0 to .fondoTop 然后您可以将.fondoTop的z-index设置为大于0

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM