Ribbon Link - 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>Ribbon Link</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #f8f9fa; font-family: 'Arial', sans-serif; margin: 0; } .ribbon-link { display: inline-block; font-size: 24px; text-decoration: none; color: #fff; padding: 12px 24px; background-color: #dc3545; border-radius: 50px; box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; position: relative; } .ribbon-link::before, .ribbon-link::after { content: ''; position: absolute; top: 50%; width: 12px; height: 12px; background-color: inherit; transform: translateY(-50%) rotate(45deg); transition: all 0.3s ease; } .ribbon-link::before { left: -12px; } .ribbon-link::after { right: -12px; } .ribbon-link:hover::before, .ribbon-link:hover::after { transform: translateY(-50%) rotate(45deg) scale(1.2); } </style> </head> <body> <a href="#" class="ribbon-link">Ribbon Link</a> </body> </html>