Water Ripple Div - MeggiTools
Run
Toggle Theme
Share Link
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Water Ripple Div</title> <style> body { background-color: #3498db; font-family: 'Arial', sans-serif; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; } .ripple-div { background-color: #2980b9; border-radius: 50%; width: 200px; height: 200px; display: flex; justify-content: center; align-items: center; text-align: center; color: white; font-size: 24px; position: relative; overflow: hidden; } .ripple-div::before, .ripple-div::after { content: ''; position: absolute; background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 80%); border-radius: 50%; width: 200%; height: 200%; top: 50%; left: 50%; transform: translate(-50%, -50%); animation: ripple 4s infinite; } .ripple-div::after { animation-delay: 2s; } @keyframes ripple { 0% { width: 0; height: 0; opacity: 1; } 100% { width: 200%; height: 200%; opacity: 0; } } </style> </head> <body> <div class="ripple-div"> <div>💧 Ripple Effect</div> </div> </body> </html>