Unblur on Page Load
How do I make an unblur on page load?
What is a unblur on page load? How do you make a unblur on page load? This script and codes were developed by Dave DeHaan on 04 January 2023, Wednesday.
Unblur on Page Load - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Unblur on Page Load</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <html> <body> <div id="hero"> <img src="http://lamplighter.io/app-assets/img/email-header.png"> <h2>Gain Focus</h2> <h3>Gain Clarity</h3> </div> <div class="controls"> <button class="js-blur">Blur</button> <button class="js-unblur">Unblur</button> </div> </body>
</html> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Unblur on Page Load - Script Codes CSS Codes
body { margin: 0px; padding: 0px; min-height: 2000px; font-family: sans-serif; color: #333;
}
#hero { margin: 0px auto; background-size: cover; width: 640px; height: 500px; background: #EEE; -webkit-filter: blur(10px); position: fixed; left: 50%; margin-left: -320px; transition: 3s;
}
#hero.noBlur { -webkit-filter: blur(0px);
}
h2 { font-size: 50px; text-align: center;
}
h3 { font-size: 35px; text-align: center;
}
button { -webkit-appearance: none; padding: 10px; width: 150px; border: solid 1px #333; border-radius: 5px;
}
.controls { position: fixed; bottom: 5px; text-align: center; width: 100%;
}
Unblur on Page Load - Script Codes JS Codes
$(window).ready(function() { $('#hero').addClass('noBlur');
});
$('.js-blur').click(function() { $('#hero').removeClass('noBlur');
});
$('.js-unblur').click(function() { $('#hero').addClass('noBlur');
});
Developer | Dave DeHaan |
Username | davedehaan |
Uploaded | January 04, 2023 |
Rating | 3 |
Size | 2,048 Kb |
Views | 10,120 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Christmas Countdown | 2,133 Kb |
Multi-color Text using globalCompositeOperation | 1,983 Kb |
Spotlight Search 404 | 3,033 Kb |
Global Composite Operation Test | 1,992 Kb |
Asteroids | 2,846 Kb |
HTML5 Logo Tracing | 2,301 Kb |
Merry Christmas. | 3,030 Kb |
Randomly generated canvas clouds | 2,028 Kb |
404 Glitch Effect | 3,495 Kb |
Javascript stopwatch | 2,102 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
APortfolio | Skybutterfly | 5,174 Kb |
Drifting Clouds | Benedikte | 2,247 Kb |
Foundation 5 Menu - Accessibility | Xporter | 1,999 Kb |
Login-ng-modal | Heedoo | 3,566 Kb |
Expandable Left Side Bar with jQuery animate | Retrofuturistic | 2,483 Kb |
IbrahimJabbari-Effect14 | Ibrahimjabbari | 1,919 Kb |
Twitch API | Coderpilot | 3,412 Kb |
Pure CSS Tooltip | APinix | 2,815 Kb |
Text Blocks Over Image, Updated | KatieK2 | 3,122 Kb |
Basic HTML Slideshow | Tomhodgins | 3,386 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!