[英]Safari css issues (negative margin?)
I have this issue in Safari: 我在Safari中有这个问题:
I also create a fiddle https://jsfiddle.net/hbadvb02/6/ for play with this. 我也创建了一个小提琴https://jsfiddle.net/hbadvb02/6/来玩这个。
It works in Edge, IE, Chrome and Firefox ... and really I don't understand. 它适用于Edge,IE,Chrome和Firefox ......我真的不明白。 It's very frustrating. 这非常令人沮丧。
I have trying to use -webkit-transform: translate3d(0, 0, 0);
我试图使用-webkit-transform: translate3d(0, 0, 0);
but nothing. 但没什么。
The problem is here: 问题出在这里:
.zchead {
margin-left: -1px;
margin-top: -26px;
height: 32px;
width: @zc-width - 1px;
line-height: 26px;
background: @zc-background;
padding: 2px 7px;
cursor: pointer;
text-transform: capitalize;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: block;
position: fixed;
}
try to remove fixed position and it should works (not tested) 尝试删除固定位置,它应该工作(未测试)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.