EllyTools

画像ツール

計算ツール

テキストツール

カラーツール

ファイルツール

便利ツール

CSSボタンジェネレーター

ボタンをデザインしてCSSコードを生成

Live Preview

Hover to preview hover effect

Generated CSS

.button {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background-color: #6366f1;
  border-radius: 8px;
  border: none;
  box-shadow: 0px 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: all 0.2s ease;
}

.button:hover {
  background-color: #4f46e5;
  color: #ffffff;
}

使い方

1

Choose a preset or customize styles manually

2

Adjust colors, padding, border radius, shadow, and hover effects

3

Copy the generated CSS code for your project

よくある質問

関連ツール

こんな方におすすめ

  • Frontend developers creating custom button styles
  • Web designers prototyping button designs
  • Beginners learning CSS with button properties

EllyToolsが選ばれる理由

100%無料&無制限

登録不要、制限なし。何度でもお使いいただけます。

プライバシー最優先

すべての処理はブラウザ内で行われます。ファイルがデバイスの外に出ることはありません。

インストール不要

デスクトップ、タブレット、スマートフォンなど、あらゆるデバイスのブラウザで直接動作します。

高速&安定

最新のブラウザ技術による即座の結果。

CSS Button Generator: Visual Editor for Modern Button Styles

Buttons are the most-tweaked element on any website. This generator lets you visually adjust padding, colors, border-radius, hover states, and shadows — then exports clean CSS.

Modern button design has a few standard variants: solid (primary action), outlined (secondary), ghost (tertiary). Each needs hover, focus, and active states. Getting all the spacing and colors right by hand is tedious — a visual editor with live preview saves time.

Button design checklist

  • Padding: 8–12px vertical, 16–24px horizontal
  • Border-radius: 4–8px (or fully rounded for pill-style)
  • Hover state: slight darkening (10–15%) or shadow lift
  • Focus state: visible outline for keyboard users
  • Disabled state: 50% opacity
  • Minimum 44×44 px touch target on mobile

Extended FAQ

Should I use Tailwind classes instead of custom CSS?

Both work. Tailwind is faster for prototyping; custom CSS gives more control. The generator outputs raw CSS so you can adapt either way.

Are my designs stored?

No — runs entirely in your browser.