带有固定位置的标题HTML标记在IOS版本中不起作用<=12部手机/平板电脑
我有一个固定的头,在IOS版本上不起作用只需添加带有固定位置的标题HTML标记在IOS版本中不起作用<=12部手机/平板电脑,html,css,Html,Css,我有一个固定的头,在IOS版本上不起作用只需添加transform:translate3d(0,0,0)到您的CSS文件: position: fixed; z-index: 3; top: 0px; min-height: 90px; transform: translate3d(0,0,0); 这应该可以解决问题。谢谢,但我也尝试过,但没有效果。 position: fixed; z-index: 3; top: 0px; min-height: 90px; transform: tran
transform:translate3d(0,0,0)代码>到您的CSS文件:
position: fixed;
z-index: 3;
top: 0px;
min-height: 90px;
transform: translate3d(0,0,0);
这应该可以解决问题。谢谢,但我也尝试过,但没有效果。
position: fixed;
z-index: 3;
top: 0px;
min-height: 90px;
transform: translate3d(0,0,0);