Skip to content

Instantly share code, notes, and snippets.

@DavidWells
Created August 23, 2014 04:19
Show Gist options
  • Save DavidWells/7a2003e8d159f65cdb5d to your computer and use it in GitHub Desktop.
Save DavidWells/7a2003e8d159f65cdb5d to your computer and use it in GitHub Desktop.
Shrink Contents of Iframe with CSS
/ This shrinks content in iframes /
iframe {
-webkit-transform-origin: 0px 0px;
transform-origin: 0px 0px 0px;
-webkit-transform: scale(0.8446726572528884);
transform: scale(0.8446726572528884);
margin-left: 110.67073170731703px;
margin-top: 10px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment