Last active
October 22, 2015 08:25
-
-
Save ville6000/518624ddb08f02e019fe to your computer and use it in GitHub Desktop.
Wrap iframes with responsive container
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
(function ($) { | |
$(function () { | |
$('iframe').wrap("<div class='iframe-responsive-container'></div>"); | |
}); | |
})(jQuery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment