ios bug html,html - Button bug only on IOS - Stack Overflow

The site that I am currently working on has a problem with a slider that I made, and it's driving me crazy.

Under the part called "Selected Customers" on this site, when on any ios device the arrows inside the buttons are wrongly placed and the button either does not work at all or very poorly.

I suspect that it's a problem with css support or css defaults for IOS-devices, because I don't run into the same problem on any other device. It happens on both chrome and safari. After debugging through my free trial on browserstack I couldn't really figure it out, and I can't afford to pay for a subscription.

This is the scss I wrote, where I think the fault lies:

.slideshow-customers{

width:100%;

display:flex;

flex-basis:auto;

position:relative;

#left-slide, #right-slide{

margin:auto;

top:0;

bottom:0;

z-index:2;

background:white;

border:0;

color:#18243f;

box-shadow: 0px 1px 5px 1px rgba(204,204,204,0.6);

border-radius: 50%;

line-height:1.8em;

font-size:1.8em;

height:1.8em;

width:1.8em !important;

overflow:hidden;

cursor:pointer;

display:flex;

& .fas.fa-chevron-left, & .fas.fa-chevron-right{

margin:auto;

box-sizing:border-box;

color: rgba(24,36,63,0.8);

}

& .fas.fa-chevron-left{

transform:translateX(-2px) !important;

-webkit-transform: translate3d(-2px,0,0) !important;

-ms-transform: translateX(-2px) !important;

}

& .fas.fa-chevron-right{

transform:translateX(2px) !important;

-webkit-transform: translate3d(2px,0,0) !important;

-ms-transform: translateX(2px) !important;

}

}

Any insight is highly appreciated!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值