Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/74.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
带有固定位置的标题HTML标记在IOS版本中不起作用<=12部手机/平板电脑_Html_Css - Fatal编程技术网

带有固定位置的标题HTML标记在IOS版本中不起作用<=12部手机/平板电脑

带有固定位置的标题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

我有一个固定的头,在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: translate3d(0,0,0);