CSS button examples you can copy
141 free, hand-tuned CSS buttons in 13 styles. Every one is pure CSS (no images, no JavaScript) with hover, active and keyboard focus states built in. Copy the code, or open any button in the CSS button generator to change the colours, text and effects.
Gradient CSS Buttons
14 designs
A gradient is the fastest way to make a call to action stand out. Every button here uses a pure CSS linear-gradient() or radial-gradient() background, so it stays sharp at any size and weighs a few hundred bytes.
Glassmorphism CSS Buttons
10 designs
Glassmorphism buttons look like frosted glass: a translucent fill, a blur of whatever sits behind them, and a thin bright edge. The effect comes from backdrop-filter: blur(), which every modern browser supports.
Neon & Glow CSS Buttons
12 designs
Neon buttons glow by stacking several box-shadow and text-shadow layers in the same bright colour, from a tight inner glow to a wide soft halo. They work best on dark backgrounds.
3D CSS Buttons
11 designs
A 3D button gets its depth from a solid, unblurred shadow directly underneath it. When you click, the button moves down and the shadow shrinks by the same amount, so it feels like a real key being pressed.
Neumorphism & Clay CSS Buttons
10 designs
Neumorphism, or soft UI, makes a button look extruded from the page using two shadows: a light one up and to the left, a dark one down and to the right. Claymorphism adds colour and inner shadows for a puffy, 3D-clay look.
Neubrutalism CSS Buttons
10 designs
Neubrutalist buttons are loud on purpose: flat bright colours, a thick black border and a hard offset shadow with zero blur. They are popular with indie products and portfolios that want to look confident and handmade.
Minimal CSS Buttons
9 designs
Minimal buttons stay out of the way: outlines, ghost buttons, hairline borders and text links with an arrow. They make good secondary actions next to a bolder primary button.
Primary, Secondary & Danger CSS Buttons
12 designs
These are the everyday buttons a web app needs: primary and secondary actions, success, danger, warning and info states, plus outline and subtle variants. Every one has a visible keyboard focus ring and readable text contrast.
Animated CSS Buttons
11 designs
These buttons move on their own: gradients that flow, rings that pulse, metallic shimmer and light sweeps. Every animation is plain CSS @keyframes, and each one switches off for people who set "reduce motion" in their system settings.
Retro & Pixel CSS Buttons
11 designs
Retro buttons borrow from arcade machines, Windows 95, 80s synthwave and Y2K chrome. Pixel fonts, bevelled borders and hard shadows do most of the work, with no images needed.
Cute & Playful CSS Buttons
11 designs
Playful buttons use rounded fonts, pastel or candy colours, glossy highlights and a bit of bounce. They suit kids’ products, games, food brands and anything that should feel friendly.
Dark & Luxury CSS Buttons
10 designs
Luxury buttons pair deep blacks and jewel tones with metallic gradients like gold, rose gold, champagne and platinum, often set in an elegant serif. They suit fashion, hospitality and premium tiers.
Earthy & Natural CSS Buttons
10 designs
Earthy buttons use muted, natural colours: forest green, terracotta, sand, sage, olive and espresso. They fit wellness, outdoors, food and sustainability brands that want calm rather than flashy.
All 141 buttons A–Z
- 3D Black
- 3D Green
- 3D Orange
- 3D Press
- 3D Purple
- 3D Red
- 3D Teal
- 3D Yellow
- 80s Sunset
- Amber Glass
- Aqua Glass
- Arcade
- Arcade Blue
- Arcade Green
- Aurora
- Black & Gold
- Black Pill
- Blue Raspberry
- Blueberry
- Brutal Blue
- Brutal Cyan
- Brutal Dark
- Brutal Dashed
- Brutal Lime
- Brutal Orange
- Brutal Pink
- Brutal White
- Brutalist
- Bubblegum
- Candy
- Carbon
- Champagne
- Cherry Cola
- Clay Lilac
- Clay Mint
- Clay Peach
- Clay Sky
- Clear Sky
- Cloud
- Cosmic
- Cyber Yellow
- Danger
- Dark Solid
- Deep Ocean
- Deep Space
- Disco
- Ember
- Emerald
- Espresso
- Forest
- Frosted Pill
- Game Over
- Gel
- Ghost
- Ghost Dark
- Glass
- Glass Outline
- Glow Ring
- Gold Foil
- Gold Shimmer
- Golden Hour
- Grape Soda
- Hairline
- Heartbeat
- Holo
- Ice
- Indigo Dream
- Info
- Jelly
- Kawaii
- Keycap
- Laser Red
- Lava
- Lavender
- Lemonade
- Light Solid
- Lime Punch
- Liquid Glass
- Live
- Marshmallow
- Matrix
- Midnight
- Mint Chip
- Mono
- Moss & Stone
- Neon
- Neon Amber
- Neon Lime
- Neon Pink
- Neumorph
- Neumorph Accent
- Neumorph Dark
- Neumorph Pill
- Neumorph Pressed
- Newsprint
- Northern Lights
- Obsidian
- Ocean Breeze
- Ocean Wave
- Olive
- Online
- Outline
- Outline Pill
- Peach Fuzz
- Pixel Heart
- Plasma
- Platinum
- Pressable Pill
- Primary
- Rainbow
- Rose Glass
- Rose Gold
- Royal Velvet
- Sage
- Sand
- Secondary
- Serif Outline
- Sherbet
- Shine Black
- Smoky Glass
- Soft White
- Square Outline
- Subtle
- Success
- Sunset Flow
- Synthwave
- System Blue
- Tangerine
- Terminal
- Terracotta
- Text Arrow
- Tropical
- Ultraviolet
- Underline
- Vaporwave
- Velvet Red
- Violet Glass
- Warning
- Watermelon
- Win95
- Y2K Chrome