154 CSS Buttons - Free Frontend

FreeFrontend

Categories: HTML CSS Bootstrap TailwindCSS JavaScript Social: Telegram Other collections:
  • - css radio buttons
  • - css 3d buttons
  • - css flat buttons
  • - css gradient buttons
  • - css group multi buttons
  • - css animated buttons
  • - css download buttons
  • - css social share buttons
  • - css play pause buttons
  • - css close buttons
206 CSS Buttons

Master the art of creating interactive CSS Buttons that provide clear user feedback. The core of these examples lies in leveraging pseudo-classes like :hover, :focus, and :active to define distinct visual states for user interaction. To create a satisfying tactile response, the transition property is used to smoothly animate changes to performant properties like transform and opacity. You’ll also find advanced techniques using pseudo-elements to create dynamic fill, shine, and border effects without any extra HTML markup, resulting in clean, self-contained, and highly reusable components.

thumbnail

Container Query Button Animation

live demo

A sleek interaction button where the code icon decomposes on hover: brackets slide apart and the slash rotates away, revealing the “Get Code” text. The animation is purely CSS-driven, utilizing calc() with a custom property --intent to interpolate transform values for a fluid, high-performance effect.

# css buttons # css button hover effects # css custom property variables # ui micro interaction x close thumbnail

Metal/Glass Button

live demo

A high-quality simulation of a metallic surface that “plays” with light following the mouse cursor, creating a tactile sensation of premium material.

# jquery buttons # css buttons # css button hover effects # css gradient # js mouse tracking x close thumbnail

CSS Rage Button

live demo

A playful button that shakes, reddens, and “curses” with increasing intensity upon each click (or hover for the secondary button), visualizing a gradual loss of composure.

# css buttons # css button hover effects # css button click effects # css keyframes # css pseudo elements x close thumbnail

Glowing On/Off Buttons

live demo

A skeuomorphic toggle button where the entire press effect is implemented in pure CSS using box-shadow and transform: scale(). JavaScript is only used to toggle the WAI-ARIA attribute aria-pressed on click.

# css buttons # css toggle switches # css 3d buttons # css custom property variables # css box shadow # css transition # css cubic bezier x close thumbnail

Skeuomorphic Like Button

live demo

An advanced “Like” button micro-animation based on CSS @property, where custom variables are used to animate the numbers and the icon.

# css buttons # css @property # css custom property variables # ui micro interaction # css transform x close thumbnail

Neumorphic Multi-Buttons with CSS Feedback

live demo

An effective button group where the hover effect is created via inset box-shadow - and the click confirmation animation is implemented using transform and opacity on the ::after pseudo-element.

# css buttons # css group multi buttons # css neumorphism # css pseudo elements # css box shadow x close thumbnail

Expanding Social Share Button

live demo

A smooth, morphing circular button that expands on click to reveal three link items, utilizing complex CSS transitions, transition-delay, and a Pug template structure for dynamic content generation.

# css buttons # css social share buttons # css keyframes # css morphing effects x close thumbnail

Undo/Redo With Active Clock Animation

live demo

A clean frontend implementation of an interactive button pair, where the history logic (Undo/Redo state) is managed by minimal Vanilla JS, and the rich clock rotation and dial animation is fully delegated to CSS transforms.

# js buttons # css buttons # css active # css transition x close thumbnail

Shine Gradient Buttons

live demo

An example of modern UI/UX design implemented with pure CSS. The demo shows how to use linear-gradient, box-shadow, and transform to create buttons with gradient fills and a 3D-like effect, while the @keyframes animation adds a dynamic shine, making the interactive element more engaging.

# css buttons # css animated buttons # css gradient buttons # css gradient x close thumbnail

Gooey SVG Filter Button

live demo

An interactive “liquid” effect button crafted using SVG feGaussianBlur and feComponentTransfer filters. Cursor movement is tracked with JavaScript and passed to CSS to control a radial gradient.

# css buttons # css custom property variables # css button hover effects x close thumbnail

Neomorphic Button

live demo

A striking button with a neomorphic design and a pulsating element, built using pure CSS variables and pseudo-elements. The hover and active state animations provide a smooth UX, making it perfect for drawing attention to key CTAs.

# css buttons # css animated buttons # css button hover effects # css button click effects # css 3d buttons x close thumbnail

Button Fill Animation

live demo

Using pure CSS and a small JS script for class toggling, this demo shows how to create a button with a unique animation. The main feature is a div with border-radius: 50% and a transform that animates, creating a “filling” effect from within the button.

# css buttons # css button hover effects x close thumbnail

Smooth Corners with CSS

live demo

A progressive technique for creating complex UI shapes using the CSS Houdini Paint API - a squircle is generated by the smooth-corners worklet, surpassing the capabilities of border-radius. The shape’s curvature is dynamically controlled via the --smooth-corners CSS Custom Property, while the effect itself is built with a combination of pseudo-elements, mask, and clip-path.

# css buttons # css corners # css custom property variables # css mask # css clip path x close

Hover Effectsexternal link

A dynamic hover effect in pure CSS, where the :has() pseudo-class triggers simultaneous animations: a slide-out tooltip and a smooth icon fill. The tooltip’s content is sourced from a data-tooltip attribute via attr(), and the fill color is flexibly configured with a --bg CSS Custom Property.

# css buttons # css social media icons # css tooltips # css has # css custom property variables # html data attributes

Squicles Buttons with Fluid Animationsexternal link

# css buttons # css button hover effects

Gummy Buttonsexternal link

A “gummy” button animation in pure CSS, where the effect is achieved by simultaneously animating transform: scale() and border-radius. Separate @keyframes are used for the :hover and :active states, creating a unique tactile response.

# css buttons # css button click effects # css keyframes # css hover effects # css transform

Buttonexternal link

The main button has a semi-transparent background, the ::before pseudo-element contains the animated gradient, and ::after has a solid dark background that “cuts out” the inner part, leaving only the border visible.

# css buttons # css animated buttons # css keyframes # css conic gradient # css neon effects # css hover effects # css pseudo elements # css backdrop filter

Glass Buttonexternal link

# css buttons

Push Button (CSS 3D Button)external link

A skeuomorphic 3D button created with multi-layered box-shadow and linear-gradient to simulate volume, highlights, and shadows. On :hover, the box-shadow styles are animated, creating a “pressed” effect.

# css buttons # css 3d buttons # css box shadow # css linear gradient # css background clip thumbnail

Rainbow Shadow Button

live demo

Featuring a modern aesthetic, this button generates a soft aura using a blurred and offset pseudo-element whose color dynamics are precisely controlled by the oklch function and longer hue interpolation within the linear-gradient.

# css buttons # css gradient buttons # css gradient # css pseudo elements # css glow effects # css filter # css blur effects x close

Moving Corners with offset-pathexternal link

# css buttons # css button hover effects

Button With Offset Borderexternal link

# css buttons

Pure CSS Buttonsexternal link

# css buttons

Soft and Sharp Buttonsexternal link

# css buttons

HTML and CSS Merry Christmas Buttonexternal link

# css buttons

Incredibles / Aurora Buttonexternal link

# css buttons

Invest Internationalexternal link

# css buttons

Booking Button With mask-image and Container Queriesexternal link

# css buttons
  • 1
  • 2
  • 3
  • 4
  • 5

Từ khóa » Html Cool Button Css