All styles
Glassmorphism

Liquid Glass Sheen CSS Button

Free37 lines · no JS
Open in Studio
Theme

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

States
default
hover
focus-visible
active
disabled
not declared
@property --lg-sheen {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.btn-liquid-glass-sheen {
  display: inline-block;
  padding: 14px 32px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: linear-gradient(rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05)) padding-box, conic-gradient(from var(--lg-sheen), rgba(255, 255, 255, 0.8) 0deg, rgba(255, 255, 255, 0.1) 70deg, rgba(255, 255, 255, 0.28) 180deg, rgba(255, 255, 255, 0.1) 290deg, rgba(255, 255, 255, 0.8) 360deg) border-box;
  backdrop-filter: blur(16px) saturate(175%);
  -webkit-backdrop-filter: blur(16px) saturate(175%);
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  animation: btn-liquid-glass-sheen-turn 5s linear infinite;
  transition: transform 0.2s ease;
}
.btn-liquid-glass-sheen:hover {
  animation-duration: 1.3s;
}
.btn-liquid-glass-sheen:active {
  transform: scale(0.97);
}
@keyframes btn-liquid-glass-sheen-turn {
  to {
    --lg-sheen: 360deg;
  }
}
.btn-liquid-glass-sheen:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
Self-contained · MIT · no build step.btn-liquid-glass-sheen
GlassmorphismPillLiquidAnimatedBorder FX

Implementation notes

About the Liquid Glass Sheen CSS button

Liquid Glass Sheen uses a translucent surface designed to work over rich backgrounds. Its pill silhouette makes the label easy to scan in compact layouts. A two-layer shadow gives it its depth, with motion handled by a 5s keyframe animation. The liquid, animated, border fx details are included in the copy-paste CSS.

Usage

<button class="btn-liquid-glass-sheen">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
Pill
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
Modal86% match

Glass Orbit Decision Modal

Glass Orbit kit

Glassmorphism characterglass surface
Unlock with Pro →
Free sample
Input86% match

Glass Orbit Smart Input

Glass Orbit kit

Glassmorphism characterglass surface
Pro preview
Toggle86% match

Glass Orbit Preference Toggle

Glass Orbit kit

Glassmorphism characterglass surface
Unlock with Pro →
Pro preview
Card86% match

Glass Orbit Feature Card

Glass Orbit kit

Glassmorphism characterglass surface
Unlock with Pro →
Pro preview
Dropdown86% match

Glass Orbit Action Menu

Glass Orbit kit

Glassmorphism characterglass surface
Unlock with Pro →
Pro preview
Form86% match

Glass Orbit Signup Form

Glass Orbit kit

Glassmorphism characterglass surface
Unlock with Pro →
Get the complete Glass Orbit kit
Six coordinated component types, commercial license and future kit updates.
Explore Pro · $39

More styles that match

Liquid Glass Lens

Liquid Glass Pill

Liquid Glass Depth

Liquid Glass Morph

Glass Candy

Glass Pill

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