Ripple
How do I make an ripple?
What is a ripple? How do you make a ripple? This script and codes were developed by Anghelos Coulon on 31 August 2022, Wednesday.
Ripple - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Ripple</title> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ body{ background-color: whitesmoke;
}
.ripple{ position:absolute; margin:auto; top:0;right:0;bottom:0;left:0; border-radius: 100%; transition: all 3s ease; opacity:1;
}
.outer{ width: 7em; height: 7em; box-shadow: 0 0 10px rgba(0,0,0,0.3),inset 0 0 5px rgba(0,0,0,0.3);
}
.inner{ width: 5em; height: 5em; box-shadow: 0 0 5px rgba(0,0,0,0.3),inset 0 0 10px rgba(0,0,0,0.2);
}
.ripple.out{ height: 40em; width:40em; opacity:0;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="outer ripple"></div>
<div class="inner ripple"></div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Ripple - Script Codes CSS Codes
body{ background-color: whitesmoke;
}
.ripple{ position:absolute; margin:auto; top:0;right:0;bottom:0;left:0; border-radius: 100%; transition: all 3s ease; opacity:1;
}
.outer{ width: 7em; height: 7em; box-shadow: 0 0 10px rgba(0,0,0,0.3),inset 0 0 5px rgba(0,0,0,0.3);
}
.inner{ width: 5em; height: 5em; box-shadow: 0 0 5px rgba(0,0,0,0.3),inset 0 0 10px rgba(0,0,0,0.2);
}
.ripple.out{ height: 40em; width:40em; opacity:0;
}
Ripple - Script Codes JS Codes
$('.inner').click(function(){ $('.ripple').toggleClass('out');
});
Developer | Anghelos Coulon |
Username | anguo |
Uploaded | August 31, 2022 |
Rating | 3 |
Size | 2,093 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 |
Sheji | 2,287 Kb |
Pistachio skin remover machine, animated SVG | 12,670 Kb |
Pure CSS Giftbox | 2,082 Kb |
Night reading mode | 3,048 Kb |
Lemon | 4,621 Kb |
CSS Gas Flame Animation | 1,956 Kb |
Salt Shaker CSS-Animated SVG | 4,125 Kb |
Donate Button With CSS Animated God Rays | 2,561 Kb |
Simple always-visible comment indicator | 3,250 Kb |
Pistachio pattern | 2,502 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 |
Print element on a page | Mrs_snow | 2,081 Kb |
CSS3 Media Queries demo | Machal | 1,824 Kb |
React JS Movie Info App | MTushar | 4,870 Kb |
A Pen by Tosh | Panev | 2,586 Kb |
Donald Trump - The New Yorker | Agbales | 2,502 Kb |
Simple Login Form | JoshBlackwood | 4,418 Kb |
Expert Help | SinceSidSlid | 4,064 Kb |
Shape Outside - Polygon | Stacy | 3,954 Kb |
Basic jQuery Filter list | Mtedwards | 2,464 Kb |
Highbrow Basic HTML Lesson 8 | Kimlarocca | 2,094 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!