Simple scroll prompt
How do I make an simple scroll prompt?
A hint that you need to scroll down.. What is a simple scroll prompt? How do you make a simple scroll prompt? This script and codes were developed by Peter Hrynkow on 14 September 2022, Wednesday.
Simple scroll prompt - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Simple scroll prompt</title> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="scroll-prompt" id="js_scrollPrompt"><div class="scroll-prompt-shape"></div></div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
Simple scroll prompt - Script Codes CSS Codes
body { background: #0099ff;
}
.scroll-prompt { position: absolute; bottom: 25%; left: 50%; z-index: 100; -moz-transition: opacity 1s ease-out; -o-transition: opacity 1s ease-out; -webkit-transition: opacity 1s ease-out; transition: opacity 1s ease-out;
}
.scroll-prompt .scroll-prompt-shape { position: relative; -moz-animation: slidedown 2.25s infinite; -webkit-animation: slidedown 2.25s infinite; animation: slidedown 2.25s infinite;
}
.scroll-prompt .scroll-prompt-shape:before,
.scroll-prompt .scroll-prompt-shape:after { content: ""; display: block; position: absolute; width: 3em; height: .5em; top: 0; left: 0; background: #fff; -moz-border-radius: 0 0.25em 0.25em 0; -webkit-border-radius: 0; border-radius: 0 0.25em 0.25em 0; -moz-transform-origin: bottom left; -ms-transform-origin: bottom left; -webkit-transform-origin: bottom left; transform-origin: bottom left;
}
.scroll-prompt .scroll-prompt-shape:before { -moz-transform: scaleX(-1) rotate(-45deg); -ms-transform: scaleX(-1) rotate(-45deg); -webkit-transform: scaleX(-1) rotate(-45deg); transform: scaleX(-1) rotate(-45deg);
}
.scroll-prompt .scroll-prompt-shape:after { -moz-transform: rotate(-45deg); -ms-transform: rotate(-45deg); -webkit-transform: rotate(-45deg); transform: rotate(-45deg);
}
@-moz-keyframes slidedown { 0% { opacity: 0; } 75% { opacity: 1; -moz-transform: translate(0, 80px); transform: translate(0, 80px); } 100% { opacity: 0; -moz-transform: translate(0, 80px); transform: translate(0, 80px); }
}
@-webkit-keyframes slidedown { 0% { opacity: 0; } 75% { opacity: 1; -webkit-transform: translate(0, 80px); transform: translate(0, 80px); } 100% { opacity: 0; -webkit-transform: translate(0, 80px); transform: translate(0, 80px); }
}
@keyframes slidedown { 0% { opacity: 0; } 75% { opacity: 1; -moz-transform: translate(0, 80px); -ms-transform: translate(0, 80px); -webkit-transform: translate(0, 80px); transform: translate(0, 80px); } 100% { opacity: 0; -moz-transform: translate(0, 80px); -ms-transform: translate(0, 80px); -webkit-transform: translate(0, 80px); transform: translate(0, 80px); }
}
Developer | Peter Hrynkow |
Username | peterhry |
Uploaded | September 14, 2022 |
Rating | 3.5 |
Size | 2,480 Kb |
Views | 52,624 |
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 |
Juicy Red Button | 2,173 Kb |
CSS Button with Angled Sides | 2,338 Kb |
Source Order Switching | 2,136 Kb |
Rolldown List | 3,158 Kb |
3D Axis Data Visualizer Thingy | 2,847 Kb |
CSS Starbursts | 2,605 Kb |
T-Shape Visualization | 3,883 Kb |
Hardward Accelerate Mask Reveal | 2,083 Kb |
Kris Kross Hamburger | 2,517 Kb |
Dot Ripple CSS | 9,856 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 |
Matrix | Stathisnikolaidis | 1,922 Kb |
404 Error Page | WebSonick | 3,203 Kb |
Particle Motion trajectories | Sniejadlik | 5,899 Kb |
Static Image to Video Block | Grayghostvisuals | 4,864 Kb |
Rainbow Drops | Csbarnes | 2,365 Kb |
Base64 SVG Me | MrBambule | 44,786 Kb |
3D Text in Sass | Bookcasey | 2,766 Kb |
Display properties | Hamzaerbay | 1,886 Kb |
Rows with image hover effect | Amit-webdesigner | 12,875 Kb |
Popup Modal | Aldlevine | 3,696 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!