Professional Styled Span - 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 Styled Span</title> <style> @keyframes rainbowText { 0% { color: #ff0000; } 15% { color: #ff9900; } 30% { color: #ffff00; } 45% { color: #33cc33; } 60% { color: #3399ff; } 75% { color: #9933ff; } 90% { color: #ff66b2; } 100% { color: #ff0000; } } @keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-30px); } 60% { transform: translateY(-15px); } } .fancy-span { font-size: 24px; font-weight: bold; display: inline-block; padding: 10px 20px; margin: 20px; background: linear-gradient(45deg, #ff4b2b, #ff416c); color: white; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); cursor: pointer; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; } .fancy-span:hover { transform: scale(1.1); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); } .fancy-span span { display: inline-block; animation: bounce 2s infinite; } .fancy-span i { margin-right: 10px; animation: rainbowText 5s linear infinite; } </style> </head> <body> <span class="fancy-span"> <i>🌟</i> <span>Click Me!</span> <i>✨</i> </span> </body> </html>