Spaces:
Running
Running
File size: 11,046 Bytes
2c07407 e51cff1 2c07407 e51cff1 2c07407 e51cff1 2c07407 e51cff1 2c07407 e51cff1 2c07407 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Neon AI Mode Buttons</title>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
animation: {
'border-pulse': 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'border-rotate': 'rotate 3s linear infinite',
},
keyframes: {
pulse: {
'0%, 100%': { 'box-shadow': '0 0 10px 0px rgba(59, 130, 246, 0.5)' },
'50%': { 'box-shadow': '0 0 20px 5px rgba(59, 130, 246, 0.8)' },
},
rotate: {
'0%': { transform: 'rotate(0deg)' },
'100%': { transform: 'rotate(360deg)' },
}
}
}
}
}
</script>
<style type="text/css">
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700&display=swap');
body {
background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-family: 'Orbitron', sans-serif;
overflow-x: hidden;
position: relative;
}
body::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background:
radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.05) 0%, transparent 40%),
radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.05) 0%, transparent 40%);
z-index: -1;
}
.grid-pattern {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image:
linear-gradient(rgba(30, 41, 59, 0.3) 1px, transparent 1px),
linear-gradient(90deg, rgba(30, 41, 59, 0.3) 1px, transparent 1px);
background-size: 40px 40px;
z-index: -1;
}
.neon-button {
position: relative;
border-radius: 9999px;
background: #0f172a;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
transition: all 0.3s ease;
overflow: hidden;
z-index: 1;
font-family: 'Orbitron', sans-serif;
}
.neon-button::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: conic-gradient(
rgba(255, 0, 0, 0.8),
rgba(255, 165, 0, 0.8),
rgba(255, 255, 0, 0.8),
rgba(0, 255, 255, 0.8),
rgba(128, 0, 128, 0.8),
rgba(255, 0, 0, 0.8)
);
border-radius: inherit;
z-index: -1;
animation: rotate 3s linear infinite;
filter: blur(8px);
}
.neon-button::after {
content: '';
position: absolute;
top: 1.5px;
left: 1.5px;
right: 1.5px;
bottom: 1.5px;
background: #0f172a;
border-radius: inherit;
z-index: -1;
}
.neon-button:hover {
transform: translateY(-2px);
box-shadow: 0 0 25px rgba(0, 195, 255, 0.5);
}
.neon-button:active {
transform: translateY(1px);
}
/* Variation 1 - Blue Emphasis */
.v1::before {
background: conic-gradient(
rgba(0, 195, 255, 0.9),
rgba(0, 140, 255, 0.9),
rgba(100, 100, 255, 0.9),
rgba(0, 255, 255, 0.9),
rgba(0, 195, 255, 0.9)
);
}
.v1:hover {
box-shadow: 0 0 25px rgba(0, 195, 255, 0.7);
}
/* Variation 2 - Purple Emphasis */
.v2::before {
background: conic-gradient(
rgba(180, 0, 255, 0.9),
rgba(139, 92, 246, 0.9),
rgba(192, 132, 252, 0.9),
rgba(180, 0, 255, 0.9)
);
}
.v2:hover {
box-shadow: 0 0 25px rgba(180, 0, 255, 0.7);
}
/* Variation 3 - Green Emphasis */
.v3::before {
background: conic-gradient(
rgba(0, 255, 150, 0.9),
rgba(50, 255, 50, 0.9),
rgba(0, 255, 200, 0.9),
rgba(0, 255, 150, 0.9)
);
}
.v3:hover {
box-shadow: 0 0 25px rgba(0, 255, 150, 0.7);
}
/* Variation 4 - Red/Orange Emphasis */
.v4::before {
background: conic-gradient(
rgba(255, 50, 50, 0.9),
rgba(255, 165, 0, 0.9),
rgba(255, 100, 0, 0.9),
rgba(255, 50, 50, 0.9)
);
}
.v4:hover {
box-shadow: 0 0 25px rgba(255, 50, 50, 0.7);
}
/* Variation 5 - Pink/Purple Emphasis */
.v5::before {
background: conic-gradient(
rgba(255, 0, 200, 0.9),
rgba(255, 105, 180, 0.9),
rgba(200, 0, 255, 0.9),
rgba(255, 0, 200, 0.9)
);
}
.v5:hover {
box-shadow: 0 0 25px rgba(255, 0, 200, 0.7);
}
.glow {
position: absolute;
width: 100%;
height: 100%;
border-radius: inherit;
filter: blur(15px);
opacity: 0.7;
z-index: -2;
}
@keyframes rotate {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@media (max-width: 768px) {
.button-container {
flex-direction: column;
gap: 2.5rem;
}
.neon-button {
padding: 0.75rem 1.75rem;
font-size: 0.875rem;
}
}
</style>
</head>
<body>
<div class="grid-pattern"></div>
<div class="text-center mb-16 z-10">
<h1 class="text-4xl md:text-5xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-cyan-400 to-purple-500 mb-3">
NEON AI BUTTONS
</h1>
<p class="text-slate-400 max-w-2xl mx-auto px-4">
Futuristic glowing neon buttons with animated RGB trails. Each variation has unique color emphasis and glow characteristics.
</p>
</div>
<div class="button-container flex flex-wrap justify-center items-center gap-10 px-4 z-10">
<!-- Variation 1 -->
<div class="relative">
<div class="absolute -inset-4 bg-cyan-500 rounded-full filter blur-xl opacity-30 animate-pulse"></div>
<button class="neon-button v1 px-8 py-3 text-cyan-200">
Register
</button>
<div class="glow bg-cyan-500 animate-pulse"></div>
</div>
<!-- Variation 2 -->
<div class="relative">
<div class="absolute -inset-4 bg-purple-500 rounded-full filter blur-xl opacity-30 animate-pulse"></div>
<button class="neon-button v2 px-8 py-3 text-purple-200">
Login
</button>
<div class="glow bg-purple-500 animate-pulse"></div>
</div>
<!-- Variation 3 -->
<div class="relative">
<div class="absolute -inset-4 bg-emerald-500 rounded-full filter blur-xl opacity-30 animate-pulse"></div>
<button class="neon-button v3 px-8 py-3 text-emerald-200">
Claim
</button>
<div class="glow bg-emerald-500 animate-pulse"></div>
</div>
<!-- Variation 4 -->
<div class="relative">
<div class="absolute -inset-4 bg-orange-500 rounded-full filter blur-xl opacity-30 animate-pulse"></div>
<button class="neon-button v4 px-8 py-3 text-orange-200">
Store
</button>
<div class="glow bg-orange-500 animate-pulse"></div>
</div>
<!-- Variation 5 -->
<div class="relative">
<div class="absolute -inset-4 bg-pink-500 rounded-full filter blur-xl opacity-30 animate-pulse"></div>
<button class="neon-button v5 px-8 py-3 text-pink-200">
Nioplay
</button>
<div class="glow bg-pink-500 animate-pulse"></div>
</div>
</div>
<div class="mt-16 text-slate-500 text-sm text-center max-w-2xl px-4 z-10">
<p>Each button features a continuously rotating RGB border trail with a unique color emphasis. The matte black center provides contrast for crisp white text, while the outer glow enhances the futuristic aesthetic.</p>
</div>
<script>
// Add interactive effects to buttons
document.querySelectorAll('.neon-button').forEach(button => {
button.addEventListener('mousemove', (e) => {
const rect = button.getBoundingClientRect();
const x = e.clientX - rect.left;
const y = e.clientY - rect.top;
button.style.setProperty('--x', `${x}px`);
button.style.setProperty('--y', `${y}px`);
});
button.addEventListener('mouseleave', () => {
button.style.removeProperty('--x');
button.style.removeProperty('--y');
});
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=ProjectGenesis/button-design-ui" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |