a11y.skipToMainContent
1

CSSボタンジェネレータ

CSS ボタンを視覚的にデザインする — 塗りつぶし、境界線、半径、影、ホバー — CSS をコピーします.

px
px
px
Fill
Color
Border
px
px
Box shadow

Preview

CSS

Was this tool helpful?
Send output to:
Advertisement

How to use CSS Button Generator

  1. ボタンテキスト、パディング、フォントサイズ、重量、テキストカラーを設定します.
  2. ソリッドまたは2ストップグラデーションフィルを選択し、必要に応じてボーダーとシャドウを切り替えます.
  3. ボーダーラディウスとホバー効果(リフト、ダークン、またはグロー)を選択し、ライブプレビューを見てください.
  4. CSS をコピーして .btn と .btn:hover のルールをスタイルシートにコピーします.

CSSボタンジェネレータとは?

このジェネレータは、ビジュアルコントロールからボタン用の完全なCSSルールを構築します。 テキスト、パディング、フォントサイズ、重量、テキストカラー、ソリッドまたは2つのストップグラデーションフィックス、オプションの境界、border-radius、オプションのドロップシャドウ、ホバー効果、およびライブプレビューの更新を、プレビューボタンに適用する作業ホバー状態を含みます。

出力は、既定のto-paste .btn {...<をブロックして、

Advertisement

FAQ

プレビューは実際のホバー効果を示していますか?
はい。 生成されたホバールールは、プレビューボタンだけをターゲットとするスコープ付きスタイルとして注入されます。そのため、コピーした.btn:hoverブロックが何をするかを正確に示します.
グラデーションボタンを作ることはできますか?
グラデーショントトグルを切り替えて、単一のカラーから2つのストップリニアグラデーションに塗ります。 色を選ばず、グラデーション角度を設定し、ホバー効果もグラデーションで動作します.

Related tools

Author

MW
Marcus Webb"The DevTool Craftsman"

Full-Stack Developer & Tools Architect

Marcus has been writing code since the dial-up era. He has contributed to open-source developer tools, built CI/CD pipelines for startups, and debugged production incidents at 3 AM more times than he would like to admit. His philosophy is that the best developer tool is the one that gets out of your way, and he writes about practical tooling that helps teams ship faster with fewer headaches.

← Back to Developer Tools · All tags

Last updated:

Advertisement