Rainbow Gradient Tag - 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>Rainbow Gradient Tag</title> <style> @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap'); body { font-family: 'Roboto', sans-serif; display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #f0f2f5; margin: 0; } .tag { display: inline-flex; align-items: center; padding: 10px 20px; background: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet); border-radius: 25px; color: #fff; font-weight: 700; position: relative; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; } .tag:hover { transform: scale(1.05); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); } .tag .emoji { margin-left: 10px; font-size: 1.5em; } </style> </head> <body> <div class="tag"> Rainbow Tag <span class="emoji">🌈</span> </div> </body> </html>