Created
February 17, 2012 12:38
-
-
Save tkjaergaard/1853190 to your computer and use it in GitHub Desktop.
Round Google Maps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
#mask { | |
overflow: hidden; | |
border-radius: 50%; | |
position: relative; | |
z-index: 99; | |
height: 500px; | |
width: 500px; | |
border: 10px solid #000; | |
} | |
#mask iframe { | |
position: absolute; | |
border-radius: 50%; | |
top: 0; left: 0; | |
z-index: 50; | |
} | |
</style> | |
<div id="mask"> | |
<iframe width="500" height="500" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.dk/?ie=UTF8&t=m&ll=55.677875,11.075935&spn=0.048395,0.086002&z=13&output=embed"></iframe> | |
</div> |
I like this piece of code.
Thanks.. its very helpful for me..
Genius!! I like
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This code ok for chrome & Firefox but problem with Safari ( I could not test with old version or IE ). Thanks for share it.