我曾在一个网站http://ineland.se上工作,当我的客户在她的手机(三星Galaxy S6)上观看时,她通过移动导航按钮(三个水平条)得到了这个问题:
现在奇怪的是,我无法在其他任何地方发现此问题。我无法访问三星Galaxy S6(我只是一个小型企业开发人员),当我使用http://browserling.com来检查问题时,它看起来很正常。
这里是图标的HTML:
<span id="header-burger" class="burger-nav btn">
<span class="burger-nav-symbol open-burger">
<span class="dash">—</span>
<span class="dash to-cross">
<span class="plain">—</span>
<span class="cross x1">—</span>
<span class="cross x2">—</span>
</span>
<span class="dash">—</span>
</span>
</span>
符号的Css(sass):
.burger-nav-symbol {
position: relative;
width: auto;
height: auto;
padding: 2px;
display: inline-block;
margin: 0 auto;
* {
clear: both;
}
.dash {
display: block;
float: left;
color: $dark_A;
overflow: visible;
@include transition ($trans_all, $trans_time, $transease, $trans_delay);
&.to-cross {
position: relative;
z-index: 14000;
.cross {
position: absolute;
top: 0;
left: 0;
opacity: 1;
@include transition ($trans_all, $trans_time, $transease, $trans_delay);
&.x1 {
opacity: 0;
}
&.x2 {
opacity: 1;
}
}
}
}
}