相关疑难解决方法(0)

css规则在iOS9上无法正常工作

iOS9关于网站的CSS有问题.css规则在android和iOS8上运行良好.但在iOS9上,网站搞砸了.这是ios8和ios9的区别.

在此输入图像描述

有什么问题可以解决这个问题?感谢帮助.

CSS:

section.destinations {
    float: left;
    width: 82.5%;
    display: inline-block;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    font-weight: 300;
    font-size: 1.25em;
}
.content-wrap {
    position: relative;
    border-radius: 5px;
}
.content-wrap section {
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    background-color: white;
    display: block;
}
.destinations .promo {
    position: relative;
    background: #fff;
    webkit-box-shadow: 0 0 2px rgba(0,0,0,1);
    -moz-box-shadow: 0 0 2px rgba(0,0,0,1);
    box-shadow: 0 0 2px rgba(0,0,0,1);
    float: left;
    width: 23%;
    margin: 0 2.6% 20px 0; …
Run Code Online (Sandbox Code Playgroud)

css ios9

5
推荐指数
1
解决办法
2145
查看次数

标签 统计

css ×1

ios9 ×1