Ripple Effect CSS Animation Infinite Using Only CSS and jQuery

Ripple effect is created using only CSS and jQuery. The following effect is achieved by adding 40 divs with height, width, background color and delaying the animation relative to its index, and then moving the background color of each div from gray to the current color for unlimited times.

ripple effect codepen, pulse animation codepen, circle ripple animation css, pulse animation css codepen, water ripple animation, ripple effect css animation infinite, pulse effect css

How to make use of it:

1. Create a blank DIV element for the wavy animation.

<div class="ripple"></div>

2. Generate waves in the ripple component.

<script src="/path/to/cdn/jquery.slim.min.js"></script>
$(".ripple").ready(function () {
  for (let i = 0; i <= 40; i++) {
    $createWave = $("<div class='wave'></div>");
    $(".ripple").append($createWave);
    $(".wave:nth-child(" + i + ")").css("height", i * 8 + "px");
    $(".wave:nth-child(" + i + ")").css("width", i * 8 + "px");
    $(".wave:nth-child(" + i + ")").css("z-index", 40 - i);
    $(".wave:nth-child(" + i + ")").css(
      "animation-delay",
      0.1 * (40 - i) + "s"
    );
    $(".wave:nth-child(" + i + ")").css(
      "backgroundColor",
      "hsl(100,0%," + i + "%)"
    );
  }
});

3. Master CSS/CSS3 Wave Design and Animation.

.ripple {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  background-color: rgb(42, 42, 42);
}

.ripple .wave {
  position: absolute;
  border-radius: 50%;
  animation: ripple-animation 1s ease-in infinite;
}

@keyframes ripple-animation {
  from {
    background-color: rgb(42, 42, 42);
  }
  to {
    background-color: auto;
  }
}

Animated Ripple Pulse Effect In jQuery, Ripple Effect Plugin/Github


See Demo And Download

Official Website(ankitmishradev): Click Here

This superior jQuery/javascript plugin is developed by ankitmishradev. For extra Advanced Usages, please go to the official website.

Related Posts

Confetti-Falling-Animation-Effect-party

Confetti Falling Animation Effect In JavaScript | party.js

Party.js is a JavaScript library to brighten user site experience with visual effects! Celebrate success with dom confetti! The library is written in TypeScript and compiled into…

jquery-cookie-consent

Simple jQuery Cookie Consent Plugin

jquery.cookie-consent is a simple jQuery plugin to request consent to use cookies. An easy-to-use and highly customizable cookie consent bar that informs your visitors of the use…

Timepicker-Plugin-for-jQuery

Timepicker JavaScript Plugin for jQuery Inspired by Google Calendar

jquery.timepicker is a lightweight jQuery timer plugin inspired by Google Calendar. It supports both mouse and keyboard navigation and weighs 5.5KB minified and compact. Features: Highly customizable…

angular-ngx-carousel-slider

A Lightweight, Touchable, and Responsive Angular Universal Carousel Library

ngxCarousel is a lightweight, tactile, and responsive library for creating an angular carousel. No dependencies, no more hammer. Must Read: Angular Responsive Image Slider With Lightbox Popup…

random-number-picker

Generate a Random Number Picker In Vanilla JavaScript

Random Number Picker is a Vanilla JS-based number picker that allows you to generate a random number within a specified range. Must Read: Generating Lottery Numbers Using…

Nepali-Date-Picker-jQuery-Plugin

Nepali Date Picker jQuery Plugin | nepaliDatePicker

Nepali Date Picker is a customizable, easy-to-use, and input-based date picker plugin mostly based on the Nepali calendar. Users can choose a Nepali date in the navigable…