Bouncing Dots Hr - 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>Bouncing Dots HR</title> <style> body { font-family: Arial, sans-serif; background-color: #e0f7fa; padding: 20px; } .bouncing-dots-hr { position: relative; border: none; height: 4px; background: #26c6da; margin: 50px 0; } .bouncing-dots-hr::before, .bouncing-dots-hr::after { content: '•'; position: absolute; top: -10px; font-size: 2em; animation: bounce 2s infinite; } .bouncing-dots-hr::before { left: 10%; } .bouncing-dots-hr::after { right: 10%; } @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } </style> </head> <body> <h1>Bouncing Dots Horizontal Rule</h1> <p>This horizontal rule features bouncing dots for a playful effect.</p> <hr class="bouncing-dots-hr"> </body> </html>