Animation Controls
Border Animation Examples
Rotating Gradient Border
Rotating Gradient
Smooth gradient rotation animation
Glowing Border
Glowing Effect
Pulsating glow animation
Morphing Border
Morphing Shape
Border shape transformation
Dashed Animation
Dashed Border
Moving dashed line animation
Neon Border
Neon Glow
Neon light border effect
Wave Border
Wave Animation
Flowing wave border effect
Gradient Sweep
Sweeping Gradient
Gradient sweep animation
Particle Border
Particle Effect
Moving particle border animation
Rainbow Border
Rainbow Animation
Colorful rainbow border effect
Pulse Border
Pulse Effect
Pulsating border animation
Border Loader
Loading Border
Loading animation border
3D Border
3D Effect
Three-dimensional border
Shimmer Border
Shimmer
Sliding gradient shimmer effect
Corner Reveal Border
Corner Reveal
Animated corner accents
Dotted Running Border
Dotted Run
Moving dotted pattern
Double Border
Double
Inner and outer border pulse
Spotlight Border
Spotlight
Moving highlight effect
Bounce Border
Bounce
Bouncing border width
Spinning Corner Border
Spinning Gradient
Rotating gradient border
Scan Line Border
Scan Line
Horizontal line sweep
Typing Cursor Border
Cursor Blink
Blinking corner cursor
Zigzag Border
Zigzag
Moving zigzag pattern
Marquee Border
Marquee
Flowing gradient dash
Glitch Border
Glitch
Subtle offset flicker
Outline Draw Border
Outline Draw
Border reveal sweep
Electric Border
Electric
Flickering glow
Gradient Flow Border
Gradient Flow
Continuous gradient flow
Code Examples
/* Rotating Gradient Border Example */
.rotating-gradient-border {
position: relative;
background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
padding: 3px;
border-radius: 10px;
animation: rotateGradient 3s linear infinite;
}
.rotating-gradient-border::before {
content: '';
position: absolute;
inset: 0;
background: white;
border-radius: 7px;
z-index: -1;
}
@keyframes rotateGradient {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
<div class="demo-box rotating-gradient-border">
<div class="content">
<h4>Rotating Gradient</h4>
<p>Smooth gradient rotation animation</p>
</div>
</div>
// Animation Controls
document.getElementById('animationSpeed').addEventListener('input', function(e) {
const speed = e.target.value + 's';
document.querySelectorAll('.demo-box').forEach(box => {
box.style.animationDuration = speed;
});
document.getElementById('speedValue').textContent = speed;
});