パフォーマンス
合格フレームレート: 平均 60 fps、p5 59.9 · ロングタスク: 0 件、合計 0 ミリ秒、最長 0 ミリ秒 · ソース gzip 1.7 KB · 実行時 3.1 KB
unlucky-rat-66MITボタンUiverse.io
d3uceY が HTML と CSS だけで作ったボタンです。Uiverse.io から MIT ライセンスで収録し、ここで実際に動かしています。
品質レポート
評価と点数は、ビルドまたはテスト時に実行した自動チェックの結果です。未実施の項目は「未テスト」と表示し、数字を仮置きすることはありません。
フレームレート: 平均 60 fps、p5 59.9 · ロングタスク: 0 件、合計 0 ミリ秒、最長 0 ミリ秒 · ソース gzip 1.7 KB · 実行時 3.1 KB
問題 1 · スクリーンリーダー: 合格
継続する動きはない
はみ出しなし
フレームレートとロングタスクは、ヘッドレスの Chromium 上でソフトウェア WebGL を使って測定しています。このサイト内のコンポーネント同士の比較にのみ用いてください。実機の数値ではありません。
該当なし。静止時に見えるアニメーションはありません。ホバーで始まるアニメーションは未テストです。

検査日 2026年11月15日 · 数値は自動スクリプトによるもので、手書きの見本ではありません。
実寸で表示しています。
コピーした内容の先頭にライセンス表記があります。使うときは残してください。
<button class="download-btn pixel-corners">
<div class="button-content">
<div class="svg-container">
<svg
class="download-icon"
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
>
<path
d="M19.479 10.092c-.212-3.951-3.473-7.092-7.479-7.092-4.005 0-7.267 3.141-7.479 7.092-2.57.463-4.521 2.706-4.521 5.408 0 3.037 2.463 5.5 5.5 5.5h13c3.037 0 5.5-2.463 5.5-5.5 0-2.702-1.951-4.945-4.521-5.408zm-7.479 6.908l-4-4h3v-4h2v4h3l-4 4z"
></path>
</svg>
</div>
<div class="text-container">
<div class="text">Download</div>
</div>
</div>
</button>/* From Uiverse.io by d3uceY - Tags: icon, animation, red, button, hover, active, rounded, download */
.download-btn {
height: 45px;
width: 95px;
cursor: pointer;
background: white;
border: none;
background: #ff0021;
border-radius: 30px;
overflow: hidden;
}
.button-content {
transform: translateY(-45px);
transition: all 250ms ease-in-out;
}
.svg-container,
.text-container {
height: 45px;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.text-container .text {
font-size: 13px;
color: #fff;
font-weight: 600;
opacity: 1;
transition: opacity ease-in-out 250ms;
}
.download-icon {
height: 25px;
width: 25px;
fill: #fff;
opacity: 0;
transition: opacity ease-in-out 250ms;
}
/* hover state for the button */
.download-btn:hover .button-content {
transform: translateY(0px);
}
.download-btn:hover .text {
opacity: 0;
}
.download-btn:hover .download-icon {
opacity: 1;
}
.download-btn:focus .download-icon {
-webkit-animation: heartbeat 1.5s ease-in-out infinite both;
animation: heartbeat 1.5s ease-in-out infinite both;
}
@-webkit-keyframes heartbeat {
from {
-webkit-transform: scale(1);
transform: scale(1);
-webkit-transform-origin: center center;
transform-origin: center center;
-webkit-animation-timing-function: ease-out;
animation-timing-function: ease-out;
}
10% {
-webkit-transform: scale(0.91);
transform: scale(0.91);
-webkit-animation-timing-function: ease-in;
animation-timing-function: ease-in;
}
17% {
-webkit-transform: scale(0.98);
transform: scale(0.98);
-webkit-animation-timing-function: ease-out;
animation-timing-function: ease-out;
}
33% {
-webkit-transform: scale(0.87);
transform: scale(0.87);
-webkit-animation-timing-function: ease-in;
animation-timing-function: ease-in;
}
45% {
-webkit-transform: scale(1);
transform: scale(1);
-webkit-animation-timing-function: ease-out;
animation-timing-function: ease-out;
}
}
@keyframes heartbeat {
from {
-webkit-transform: scale(1);
transform: scale(1);
-webkit-transform-origin: center center;
transform-origin: center center;
-webkit-animation-timing-function: ease-out;
animation-timing-function: ease-out;
}
10% {
-webkit-transform: scale(0.91);
transform: scale(0.91);
-webkit-animation-timing-function: ease-in;
animation-timing-function: ease-in;
}
17% {
-webkit-transform: scale(0.98);
transform: scale(0.98);
-webkit-animation-timing-function: ease-out;
animation-timing-function: ease-out;
}
33% {
-webkit-transform: scale(0.87);
transform: scale(0.87);
-webkit-animation-timing-function: ease-in;
animation-timing-function: ease-in;
}
45% {
-webkit-transform: scale(1);
transform: scale(1);
-webkit-animation-timing-function: ease-out;
animation-timing-function: ease-out;
}
}
/* hover state for the button */コントロール · HTML · CSS · JS
コードを編集し、コントロールで調整できます。入力に合わせてプレビューが更新されます。

すべてのコンポーネントをその場で編集し、コントロールで調整し、全ソースをダウンロードし、上級プロンプトをコピーできます。
買い切り $49仮の価格
テストモード:実際の支払いは発生しません。
無料:プレビュー、コピーボタン、レッスンの解説。
小さな赤いカプセルにはダウンロード アイコンが表示され、カーソルを合わせるとコンテンツ スライド 45px が表示され、コンパクトで活発な「ダウンロード」という単語が表示されます。
ファイル、アプリ、リソースのダウンロード リンク。
#ff0021の塗りつぶし、95px×45pxのサイズ、30pxの半径、250msのスライドを変更します。
素の HTML・CSS・JavaScript(フレームワークなし)で「赤いダウンロードカプセル」コンポーネントを作ってください。小さな赤いカプセルにはダウンロード アイコンが表示され、カーソルを合わせるとコンテンツ スライド 45px が表示され、コンパクトで活発な「ダウンロード」という単語が表示されます。 使いどころ:ファイル、アプリ、リソースのダウンロード リンク。 調整できる項目:#ff0021の塗りつぶし、95px×45pxのサイズ、30pxの半径、250msのスライドを変更します。 ライトとダークのテーマに対応し、prefers-reduced-motion では静止画にし、文字は読みやすく、操作はキーボードでもできるようにしてください。有料や制限付きのコンポーネントライブラリからはコピーせず、オリジナルのコードで書いてください。
調整、アクセシビリティ、組み込み手順まで含む長めのプロンプトです。