Last active
April 6, 2018 16:03
-
-
Save dulacp/523f8df32cc545bf22ec3d7ce65b7bc0 to your computer and use it in GitHub Desktop.
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
<style> | |
.iframe-container { | |
background: #ccc; | |
position: relative; | |
height: 0; | |
padding-bottom: 75%; /* 4/3 on mobile, padding = 3/4 */ | |
} | |
.iframe-container iframe { | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
} | |
@media all and (min-width: 24em) { | |
.iframe-container { | |
padding-bottom: 56.25%; /* 16/9 on desktop, padding = 9/16 */ | |
} | |
} | |
</style> | |
<script src="https://360player.io/static/dist/scripts/embed.js" async></script> | |
<div class="iframe-container"> | |
<iframe src="https://360player.io/p/k6f7rb/" frameborder="0" allowfullscreen data-token="k6f7rb"></iframe> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment