Unblur on Page Load

Developer
Size
2,048 Kb
Views
10,120

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 Previews

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');
});
Unblur on Page Load - Script Codes
Unblur on Page Load - Script Codes
Home Page Home
Developer Dave DeHaan
Username davedehaan
Uploaded January 04, 2023
Rating 3
Size 2,048 Kb
Views 10,120
Do you need developer help for Unblur on Page Load?

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!

Dave DeHaan (davedehaan) Script Codes
Create amazing blog posts with AI!

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!