Created
December 5, 2016 11:49
-
-
Save pekala/efd97ceabb9f444fb57e567c68d84c45 to your computer and use it in GitHub Desktop.
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
<style> | |
.issuu-embed-container { | |
position: relative; | |
padding-bottom: 56.25%; /* set the aspect ratio here as (height / width) * 100% */ | |
height: 0; | |
overflow: hidden; | |
max-width: 100%; | |
} | |
.issuu-embed-container iframe { | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
} | |
</style> | |
<div class='issuu-embed-container'> | |
<iframe src='//e.issuu.com/embed.html#<YOUR CODE>' frameborder='0' allowfullscreen></iframe> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment