我在Safari 7+中遇到CSS的一些关键问题。移动和桌面......所有其他浏览器加载我的页面和CSS相对较好。 Apple对Safari 7+的确做了什么?这很糟糕,因为所有的iPhone用户都会把这个页面视为混乱......
我无法看到明确的问题,但我发现缺少CSS。这是一些CSS ......希望某种Safari Guru可以看到问题或(问题)是什么。它是我网站上提出这些问题的唯一主要浏览器。它似乎是"用户代理"正在删除一些CSS。
http://www.asumid.com是可供参考的网站...除了通过Browserstack在Safari 7/8中加载网站或在您的计算机上安装网站外,没有更好的方法可以预览它。
* {
padding: 0;
border: 0;
margin: 0;
font-size: 100%;
}
/* PRELOAD STYLES */
#pageload {
position: fixed;
background: rgba(17,17,17,.95);
z-index: 1000;
width: 100%;
height: 100%;
-moz-transition: background-color 1s ease-in-out;
-ms-transition: background-color 1s ease-in-out;
-webkit-transition: background-color 1s ease-in-out;
-o-transition: background-color 1s ease-in-out;
transition: background-color 1s ease-in-out;
cursor: wait;
}
#preload_img {
width: 100px;
height: 120px;
margin: 15% auto;
}
#preload_img img {
width: 100%;
height: 100%;
}
#preload_img span {
-ms-animation: loading 2s ease-in-out .5s infinite normal;
-moz-animation: loading 2s ease-in-out .5s infinite normal;
-webkit-animation: loading 2s ease-in-out .5s infinite normal;
-o-animation: loading 2s ease-in-out .5s infinite normal;
animation: loading 2s ease-in-out .5s infinite normal;
font-size: 100%;
position: fixed;
margin: auto;
top: 45%;
left: 48%;
}
h2.toConnect {
position: fixed;
bottom: 7em;
right: 0;
width: 100px;
height: 75px;
background-color: #777;
background-image: url('images/jumptoconnect.png'), url('images/textures/stainlesssteel_001.jpg');
background-position: center center, left center;
background-size: contain, 200%;
background-repeat: no-repeat;
border-radius: 12px 0 0 12px ;
}
h2.toConnect:hover, h2.toConnect:active {
background-color: #999;
background-image: url('images/jumptoconnect.png'), url('images/textures/stainlesssteel_001.jpg');
background-size: contain, 200%;
background-repeat: no-repeat;
opacity: .75;
}
#pageload > div.close {
width: 50px;
height: 50px;
position: absolute;
right: 0;
top: 0;
background: #EEE;
font-size: 2.5em;
text-align: center;
vertical-align: top;
cursor: pointer;
color: #555;
border-radius: 0 0 0 12px;
}
/* ... */