javascript - Border-radius on iframe not working on MAC (safari) -
i facing css problem. border radius on not working on mac book (safari).. when try on widows working well..
here 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>
here css code.
.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: 0.4s ease-in; -moz-transition: 0.4s ease-in; -o-transition: 0.4s ease-in; transition: 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; }
here live code. http://jsfiddle.net/adnan00733/ju9zl9um/ note : on windows well. unfortunately not working on mac..
please help. in advance.
ok best solution come is:
- putting image on top of map. in case can't access map.
- putting 4 images i.e. 1 on each side of map. not beautiful solution, long works...))
(i can cut image pieces if want)
Comments
Post a Comment