🌐 Glowing Buttons
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,
initial-scale=1.0">
<title>Glowing Buttons</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background: #121212;
font-family: Arial, sans-serif;
color: white;
}
.container {
text-align: center;
}
.glowing-button {
background: linear-gradient(90deg, #fff, #fff);
color: white;
padding: 15px 30px;
font-size: 18px;
border: none;
border-radius: 8px;
cursor: pointer;
box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
outline: none;
margin: 15px;
position: relative;
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glowing-button:before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background-size: 300%;
filter: blur(20px);
z-index: -1;
animation: glow 3s infinite linear;
border-radius: 50%;
}
.glowing-button:hover {
transform: scale(1.1);
box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}
.glowing-button.pink {
background: linear-gradient(90deg, #ff0080, #ff8c00, #40e0d0);
}
.glowing-button.pink:before {
background: linear-gradient(90deg, rgba(255, 0, 128, 0.5), rgba(255, 140, 0, 0.5), rgba(64, 224, 208, 0.5));
}
.glowing-button.blue {
background: linear-gradient(90deg, #007bff, #00c6ff);
}
.glowing-button.blue:before {
background: linear-gradient(90deg, rgba(0, 123, 255, 0.5), rgba(0, 198, 255, 0.5));
}
.glowing-button.green {
background: linear-gradient(90deg, #28a745, #a8ff78);
}
.glowing-button.green:before {
background: linear-gradient(90deg, rgba(40, 167, 69, 0.5), rgba(168, 255, 120, 0.5));
}
.glowing-button.orange {
background: linear-gradient(90deg, #ff8c00, #ffd700);
}
.glowing-button.orange:before {
background: linear-gradient(90deg, rgba(255, 140, 0, 0.5), rgba(255, 215, 0, 0.5));
}
@keyframes glow {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
</style>
</head>
<body>
<div class="container">
<button class="glowing-button pink">
Pink Glow</button>
<button class="glowing-button blue">
Blue Glow</button>
<button class="glowing-button green">
Green Glow</button>
<button class="glowing-button orange">
Orange Glow</button>
</div>
</body>
</html>