Skip to content

Instantly share code, notes, and snippets.

@sivan
Created February 9, 2012 09:27
Show Gist options
  • Save sivan/1778722 to your computer and use it in GitHub Desktop.
Save sivan/1778722 to your computer and use it in GitHub Desktop.
使用CSS3 Transform缩放iframe
#content_sub iframe[id^="baidu_clb"] {
-webkit-transform: scale(0.6);
-webkit-transform-origin: 100% 100%;
}
#content_sub div[id^="baidu_clb"] {
margin-left: -95px;
margin-top: -40px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment