Responsive iframes

Code to make iframe responsive

CSS

#google-map { position: relative; padding-bottom: 75%; height: 0; overflow: hidden; }

#google-map iframe { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; }

Read 45 times