Created
October 2, 2013 21:39
-
-
Save hakimel/6800908 to your computer and use it in GitHub Desktop.
Hacky way of zooming out iframes in reveal.js presentations.
This file contains hidden or 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
.reveal .slides section { | |
padding: 10px; | |
} | |
.reveal .slides section iframe { | |
-webkit-transform: scale(0.5) translate(-50%, -50%); | |
-moz-transform: scale(0.5) translate(-50%, -50%); | |
transform: scale(0.5) translate(-50%, -50%); | |
min-width: 200%; | |
min-height: 200%; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment