Professional Horizontal Rules - 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>Professional Horizontal Rules</title> <style> body { font-family: 'Arial', sans-serif; background-color: #f0f0f0; display: flex; justify-content: center; align-items: center; flex-direction: column; height: 100vh; margin: 0; } .stylish-hr { position: relative; width: 80%; height: 10px; border: none; background: linear-gradient(90deg, #ff6f61, #ff9478, #ffbc9c, #ffd9b3); background-size: 400% 400%; animation: gradient-move 5s ease infinite; margin: 30px 0; } .stylish-hr::after { content: '\f005'; font-family: 'Font Awesome 5 Free'; font-weight: 900; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); font-size: 1.5rem; color: #ff6f61; animation: spin 2s linear infinite; } .neon-hr { width: 80%; height: 5px; border: none; background-color: #00ffea; box-shadow: 0 0 15px #00ffea, 0 0 30px #00ffea; animation: pulse 1.5s infinite; margin: 30px 0; } @keyframes gradient-move { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } } @keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-10px); } } @keyframes spin { from { transform: translateX(-50%) rotate(0deg); } to { transform: translateX(-50%) rotate(360deg); } } @keyframes pulse { 0%, 100% { box-shadow: 0 0 15px #00ffea, 0 0 30px #00ffea; } 50% { box-shadow: 0 0 5px #00ffea, 0 0 10px #00ffea; } } .emoji-hr { width: 80%; border: none; height: 30px; margin: 30px 0; position: relative; overflow: hidden; } .emoji-hr::before, .emoji-hr::after { content: ''; font-size: 2rem; position: absolute; width: 100%; height: 20%; background: orange; animation: slide 5s linear infinite; } .emoji-hr::before { top: 0; } .emoji-hr::after { top: 0; animation-direction: reverse; } @keyframes slide { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } } .wave-hr { position: relative; width: 80%; height: 6px; border: none; background: #3498db; margin: 30px 0; overflow: hidden; } .wave-hr::before { content: ''; position: absolute; top: -6px; left: 0; width: 200%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent); animation: wave 2s linear infinite; } @keyframes wave { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } } .ribbon-hr { position: relative; width: 80%; height: 10px; border: none; background: #e74c3c; margin: 30px 0; } .ribbon-hr::before, .ribbon-hr::after { content: ''; position: absolute; width: 50%; height: 100%; background: inherit; } .ribbon-hr::before { left: 0; clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%); } .ribbon-hr::after { right: 0; clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%); } </style> </head> <body> <hr class="stylish-hr"> <hr class="neon-hr"> <hr class="emoji-hr"> <hr class="wave-hr"> <hr class="ribbon-hr"> <script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script> </body> </html>