パフォーマンス
合格フレームレート: 平均 60 fps、p5 59.5 · ロングタスク: 0 件、合計 0 ミリ秒、最長 0 ミリ秒 · ソース gzip 4.9 KB · 実行時 7.7 KB
buttonApache-2.0ボタンFuturistic CSS Animations
DeepankRx が HTML と CSS だけで作ったボタンです。Futuristic CSS Animations から Apache-2.0 ライセンスで収録し、ここで実際に動かしています。
品質レポート
評価と点数は、ビルドまたはテスト時に実行した自動チェックの結果です。未実施の項目は「未テスト」と表示し、数字を仮置きすることはありません。
フレームレート: 平均 60 fps、p5 59.5 · ロングタスク: 0 件、合計 0 ミリ秒、最長 0 ミリ秒 · ソース gzip 4.9 KB · 実行時 7.7 KB
問題 0 · スクリーンリーダー: 合格
視覚効果の減弱に対応済み
はみ出しなし
フレームレートとロングタスクは、ヘッドレスの Chromium 上でソフトウェア WebGL を使って測定しています。このサイト内のコンポーネント同士の比較にのみ用いてください。実機の数値ではありません。
axe-core の違反はありません。

検査日 2026年11月15日 · 数値は自動スクリプトによるもので、手書きの見本ではありません。
実寸で表示しています。
コピーした内容の先頭にライセンス表記があります。使うときは残してください。
<div class="container">
<button class="btn">Button</button>
</div>* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: #181818;
}
div {
width: 200px;
height: 200px;
box-shadow: 16px 14px 20px #0000008c;
border-radius: 10px;
position: relative;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
}
div::before {
content: "";
background-image: conic-gradient(#ff0052 20deg, transparent 120deg);
width: 150%;
height: 150%;
position: absolute;
animation: rotate 2s linear infinite;
}
div::after {
content: "Animation";
width: 190px;
height: 190px;
background: #101010;
position: absolute;
border-radius: 10px;
display: flex;
justify-content: center;
align-items: center;
color: #ff0052;
font-size: larger;
letter-spacing: 5px;
box-shadow: inset 20px 20px 20px #0000008c;
}
@keyframes rotate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.btn {
position: relative;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
width: 200px;
height: 50px;
background: #ff0052;
color: #fff;
font-size: 20px;
letter-spacing: 2px;
border-radius: 10px;
cursor: pointer;
transition: 0.5s;
}
.btn:hover {
background: #fff;
color: #ff0052;
}
.btn::before {
content: "";
position: absolute;
width: 100%;
height: 100%;
background: #fff;
z-index: -1;
transform: scale(0);
transition: 0.5s;
}
.btn:hover::before {
transform: scale(1);
}
.btn::after {
content: "";
position: absolute;
width: 100%;
height: 100%;
background: #ff0052;
z-index: -1;
transform: scale(0);
transition: 0.5s;
}
.btn-primary:hover::after {
transform: scale(1);
}
.btn-secondary {
position: relative;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
width: 200px;
height: 50px;
background: #fff;
color: #ff0052;
font-size: 20px;
letter-spacing: 2px;
border-radius: 10px;
cursor: pointer;
transition: 0.5s;
}
.btn-secondary:hover {
background: #ff0052;
color: #fff;
}
.btn-secondary::before {
content: "";
position: absolute;
width: 100%;
height: 100%;
background: #ff0052;
z-index: -1;
transform: scale(0);
transition: 0.5s;
}
.btn-secondary:hover::before {
transform: scale(1);
}
.btn-secondary::after {
content: "";
position: absolute;
width: 100%;
height: 100%;
background: #fff;
z-index: -1;
transform: scale(0);
transition: 0.5s;
}
.btn-secondary:hover::after {
transform: scale(1);
}
.btn-tertiary {
position: relative;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
width: 200px;
height: 50px;
background: #ff0052;
color: #fff;
font-size: 20px;
letter-spacing: 2px;
border-radius: 10px;
cursor: pointer;
transition: 0.5s;
}
.btn-tertiary:hover {
background: #fff;
color: #ff0052;
}
.btn-tertiary::before {
content: "";
position: absolute;
width: 100%;
height: 100%;
background: #fff;
z-index: -1;
transform: scale(0);
transition: 0.5s;
}
.btn-tertiary:hover::before {
transform: scale(1);
}
.btn-tertiary::after {
content: "";
position: absolute;
width: 100%;
height: 100%;
background: #ff0052;
z-index: -1;
transform: scale(0);
transition: 0.5s;
}
.btn-tertiary:hover::after {
transform: scale(1);
}
.btn-quaternary {
position: relative;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
width: 200px;
height: 50px;
background: #fff;
color: #ff0052;
font-size: 20px;
letter-spacing: 2px;
border-radius: 10px;
cursor: pointer;
transition: 0.5s;
}
.btn-quaternary:hover {
background: #ff0052;
color: #fff;
}
.btn-quaternary::before {
content: "";
position: absolute;
width: 100%;
height: 100%;
background: #ff0052;
z-index: -1;
transform: scale(0);
transition: 0.5s;
}
.btn-quaternary:hover::before {
transform: scale(1);
}
.btn-quaternary::after {
content: "";
position: absolute;
width: 100%;
height: 100%;
background: #fff;
z-index: -1;
transform: scale(0);
transition: 0.5s;
}
.btn-quaternary:hover::after {
transform: scale(1);
}
.btn-quinary {
position: relative;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
width: 200px;
height: 50px;
background: #ff0052;
color: #fff;
font-size: 20px;
letter-spacing: 2px;
border-radius: 10px;
cursor: pointer;
transition: 0.5s;
}
.btn-quinary:hover {
background: #fff;
color: #ff0052;
}
.btn-quinary::before {
content: "";
position: absolute;
width: 100%;
height: 100%;
background: #fff;
z-index: -1;
transform: scale(0);
transition: 0.5s;
}コントロール · HTML · CSS · JS
コードを編集し、コントロールで調整できます。入力に合わせてプレビューが更新されます。

すべてのコンポーネントをその場で編集し、コントロールで調整し、全ソースをダウンロードし、上級プロンプトをコピーできます。
買い切り $49仮の価格
テストモード:実際の支払いは発生しません。
無料:プレビュー、コピーボタン、レッスンの解説。
赤い円錐形のグラデーションが 2s ごとに暗い四角形の後ろで回転するため、ボタンのフレームの周りに輝く線が走ります。
未来的なランディング ページ、ゲーム メニュー、技術デモ。
#ff0052円錐の色とその20degと120degのストップ、2s rotate、200pxサイズ、10px半径を変更します。
素の HTML・CSS・JavaScript(フレームワークなし)で「回転円錐ライトボタン」コンポーネントを作ってください。赤い円錐形のグラデーションが 2s ごとに暗い四角形の後ろで回転するため、ボタンのフレームの周りに輝く線が走ります。 使いどころ:未来的なランディング ページ、ゲーム メニュー、技術デモ。 調整できる項目:#ff0052円錐の色とその20degと120degのストップ、2s rotate、200pxサイズ、10px半径を変更します。 ライトとダークのテーマに対応し、prefers-reduced-motion では静止画にし、文字は読みやすく、操作はキーボードでもできるようにしてください。有料や制限付きのコンポーネントライブラリからはコピーせず、オリジナルのコードで書いてください。
調整、アクセシビリティ、組み込み手順まで含む長めのプロンプトです。