Skip to content

Instantly share code, notes, and snippets.

@IftekherSunny
Last active December 28, 2019 08:58
Show Gist options
  • Save IftekherSunny/8ceb6488c9ca5ac05a134e98093f2655 to your computer and use it in GitHub Desktop.
Save IftekherSunny/8ceb6488c9ca5ac05a134e98093f2655 to your computer and use it in GitHub Desktop.
$('#iframe').on("load", function() {
$("#iframe").contents().find("head").append('<style>body{background:url("https://media.giphy.com/media/lEDJkiw48A9kA/giphy.gif") no-repeat center center fixed; background-size: cover;}.header-wrapper {background-image: unset !important}.site-preview--landing-page .header-wrapper .header-opacity, .smartlist .header-wrapper .header-opacity { background: #333 !important;opacity: .8 !important;}</style>');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment