【发布时间】:2015-07-27 02:37:33
【问题描述】:
我正面临 CSS 问题。 边框半径在 mac book (Safari) 上不起作用.. 当我试穿寡妇时,它工作得很好..
这是我的html
<div class="map">
<div class="map-border">
<iframe width="295" height="295" src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d3160.515465008442!2d-122.40503609999998!3d37.6135611!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x808f77776e3c0101%3A0x78bd162ebe8e8904!2s1699+El+Camino+Real+%23201!5e0!3m2!1sen!2s!4v1403695117548">
</iframe>
</div>
这是我的CSS代码。
.map {
width: 315px;
height: 315px;
overflow: hidden;
position: relative;
border: 10px rgba(0, 0, 0, 0.1) solid;
-webkit-border-radius: 190px;
-moz-border-radius: 190px;
-ms-border-radius: 190px;
-o-border-radius: 190px;
border-radius: 190px;
-webkit-transition: all 0.4s ease-in;
-moz-transition: all 0.4s ease-in;
-o-transition: all 0.4s ease-in;
transition: all 0.4s ease-in;
z-index: 10;
}
.map .map-border {
position: absolute;
overflow: hidden;
height: 295px;
border: 10px white solid;
-webkit-border-radius: 190px;
-moz-border-radius: 190px;
-ms-border-radius: 190px;
-o-border-radius: 190px;
border-radius: 190px;
overflow: hidden;
z-index: -10;
position: relative;
overflow-x: hidden;
overflow-y: hidden;
}
iframe {
-webkit-border-radius: 190px;
-moz-border-radius: 190px;
-ms-border-radius: 190px;
-o-border-radius: 190px;
border-radius: 190px;
border: 0;
display: block;
}
这是实时代码。 http://jsfiddle.net/adnan00733/ju9zL9um/ 注意:在 Windows 上看起来不错。但不幸的是它不适用于 MAC..
请帮忙。 提前致谢。
【问题讨论】:
-
看起来没有解决办法((
-
当我点击投票时,我会收到这条消息“投票需要 15 声望”并且我的投票被删除。
-
你只能标记为正确,因为你没有足够的声望来投票
标签: javascript jquery html css iframe