【问题标题】:map round border webkit地图圆形边框 webkit
【发布时间】:2012-06-11 17:55:36
【问题描述】:

我已经尝试了几个小时来让它工作..

我需要为谷歌地图制作圆形边框效果。

我知道 webkit 存在错误,到目前为止,我在网上没有找到任何解决方案,而且我的努力似乎也没有奏效。

你能帮帮我吗?

---CSS---

#order_map_wrapper {
    float: left;
    position:relative;
}

#order_map_middle {
    -webkit-border-bottom-left-radius:20px;
    -moz-border-radius-bottomleft:20px;
    border-bottom-left-radius:20px;
    overflow: hidden; 
}

#order_map { 
    height: 425px;
    width: 485px;
    -moz-border-radius: inherit;
    -webkit-border-radius: inherit;
    border-radius: inherit;
}

---HTML---

<div id="order_map_wrapper" >
    <div id="order_map_middle"> 
        <div id="order_map">
        </div>
    </div
</div>

【问题讨论】:

  • 您的问题不清楚。而且您的 HTML 标记有错误。
  • 确实,Evan 的意思是 &lt;/div 错过了 &gt;
  • 这只是一个错字..即使修复了它也不会工作..但只能使用 chrome

标签: html google-maps css rounded-corners


【解决方案1】:

我在网上有这个 V2 示例:

http://maps.forum.nu/temp/gm_rounded_corners.html

有时间我会尝试制作V3版本的。

【讨论】:

  • 我已经看过那个了,但我需要一些可以显示背景的东西
  • 您也可以这样做,但使用半透明图像而不是不透明图像。
猜你喜欢
  • 2016-05-07
  • 2023-03-18
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2017-04-05
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多