Created
October 19, 2012 02:40
-
-
Save tkompare/3915945 to your computer and use it in GitHub Desktop.
A div for google.maps.Map() in a responsive design. Be sure to transfer the styles to your stylesheet.
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
<div style="display:inline-block; position:relative; width:100%;"> | |
<div style="margin-top:100%;"> | |
<div id="map" style="position:absolute; top:0; bottom:0; left:0; right:0;"> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment