All styles
Neon & Glow

Breathing Line CSS Button

Free43 lines · no JS
Open in Studio
Theme

A real <button> carrying .btn-breathing-line — the preview is the stylesheet, not a picture of it.

States
default
hover
focus-visible
active
not declared
disabled
not declared
.btn-breathing-line {
  position: relative;
  display: inline-block;
  padding: 12px 16px 16px;
  border: none;
  background: transparent;
  color: #a5f3fc;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.btn-breathing-line::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 50%;
  height: 3px;
  border-radius: 2px;
  background: #22d3ee;
  transform: translateX(-50%);
  animation: btn-breathing-line-pulse 2s ease-in-out infinite;
}
.btn-breathing-line:hover::after {
  animation-duration: 0.8s;
}
@keyframes btn-breathing-line-pulse {
  0%, 100% {
    width: 50%;
    opacity: 0.7;
    box-shadow: 0 0 6px rgba(34, 211, 238, 0.6);
  }
  50% {
    width: 100%;
    opacity: 1;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.9);
  }
}
.btn-breathing-line:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
Self-contained · MIT · no build step.btn-breathing-line
Neon & GlowSquareAnimatedBorder FX

Implementation notes

About the Breathing Line CSS button

Breathing Line uses luminous contrast designed for dark and futuristic interfaces. Its square geometry creates a compact, precise control. Motion comes from a 2s keyframe animation. The animated, border fx details are included in the copy-paste CSS.

Usage

<button class="btn-breathing-line">Button</button>

Pair it with the CSS tab above — the class is self-contained.

Before shipping: keep the semantic button element, verify contrast on your actual background and add a visible:focus-visible state. If you retain motion, include a prefers-reduced-motion override.
Built with
HTML + plain CSS
Shape
Square
Exports
CSS, Tailwind, React
License
MIT · commercial use
Complete the look

Build the interface around this button

We matched its palette, surface, geometry and motion to a complete UI system — like composing an outfit, not browsing unrelated parts.

Style DNA · v1
How matching works →
Pro preview
Modal73% match

Aurora Studio Decision Modal

Aurora Studio kit

cyan paletteGradient character
Unlock with Pro →
Free sample
Input73% match

Aurora Studio Smart Input

Aurora Studio kit

cyan paletteGradient character
Pro preview
Toggle73% match

Aurora Studio Preference Toggle

Aurora Studio kit

cyan paletteGradient character
Unlock with Pro →
Pro preview
Card73% match

Aurora Studio Feature Card

Aurora Studio kit

cyan paletteGradient character
Unlock with Pro →
Pro preview
Dropdown73% match

Aurora Studio Action Menu

Aurora Studio kit

cyan paletteGradient character
Unlock with Pro →
Pro preview
Form73% match

Aurora Studio Signup Form

Aurora Studio kit

cyan paletteGradient character
Unlock with Pro →
Get the complete Aurora Studio kit
Six coordinated component types, commercial license and future kit updates.
Explore Pro · $39

More styles that match

Laser Line

Neon Cyan

Cyber Amber

Neon Dash

Neon Duotone

Neon Fill Violet

Two optional extras load only if you allow them. Every button, preview and line of code works exactly the same either way. What each one does