Capsule AI
/
クリッカー育成(テンプレートから)(複製)(複製)(複製)(複製)(複製)(複製)(複製)
2部品・0〜数百トークン
↩ 戻す
履歴
複製
💬 ことばで直す
▶ Run
🔗 共有
🚀 デプロイ
⏹
☰
▷ プレビュー
</> コード
🖥 PC
📱 スマホ
↻ 新タブ
atomic.studio/s/54207
📄 index.html
コードを直接編集して「適用」でプレビューに反映
適用 ▷
<div class="min-h-screen bg-zinc-950 text-white"><div class="flex items-center justify-center min-h-screen bg-gradient-to-br from-[#1a1a2e] to-[#16213e] p-4"><div class="bg-[#0f3460] rounded-2xl shadow-2xl p-8 md:p-12 w-full max-w-sm text-center border border-[#e94560]/20"><h2 class="text-3xl md:text-4xl font-bold text-[#e94560] mb-2 tracking-tight">カウンター</h2><p class="text-[#a8d8ea] text-sm md:text-base mb-6 opacity-80">クリックして増やす</p><div class="bg-[#1a1a2e] rounded-xl py-6 px-4 mb-6 shadow-inner"><span class="text-5xl md:text-6xl font-extrabold text-[#e94560] tabular-nums">0</span></div><div class="flex gap-3 justify-center"><button class="bg-[#e94560] hover:bg-[#c73650] active:scale-95 text-white font-semibold py-2 px-6 rounded-lg transition-all duration-150 shadow-md hover:shadow-lg">-1</button><button class="bg-[#e94560] hover:bg-[#c73650] active:scale-95 text-white font-semibold py-2 px-6 rounded-lg transition-all duration-150 shadow-md hover:shadow-lg">+1</button></div><button class="mt-4 text-[#a8d8ea] text-xs underline hover:text-[#e94560] transition-colors duration-150 opacity-60 hover:opacity-100">リセット</button></div></div><nav class="flex flex-col md:flex-row items-center justify-center gap-4 md:gap-6 p-4 rounded-2xl shadow-lg" style="background:linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);border:1px solid rgba(255,255,255,0.08)" role="navigation" aria-label="メインナビゲーション"><h2 class="sr-only">メインナビゲーション</h2><button class="flex items-center gap-2 px-5 py-2.5 rounded-xl text-sm font-medium tracking-wide transition-all duration-200 hover:scale-105 focus:outline-none focus:ring-2 focus:ring-cyan-400/60" style="color:#e0e7ff;background-color:rgba(255,255,255,0.04);backdrop-filter:blur(4px);border:1px solid rgba(255,255,255,0.06)"><span class="text-lg" aria-hidden="true">🏠</span><span>ホーム</span></button><button class="flex items-center gap-2 px-5 py-2.5 rounded-xl text-sm font-medium tracking-wide transition-all duration-200 hover:scale-105 focus:outline-none focus:ring-2 focus:ring-cyan-400/60" style="color:#e0e7ff;background-color:rgba(255,255,255,0.04);backdrop-filter:blur(4px);border:1px solid rgba(255,255,255,0.06)"><span class="text-lg" aria-hidden="true">🔍</span><span>検索</span></button><button class="flex items-center gap-2 px-5 py-2.5 rounded-xl text-sm font-medium tracking-wide transition-all duration-200 hover:scale-105 focus:outline-none focus:ring-2 focus:ring-cyan-400/60" style="color:#e0e7ff;background-color:rgba(255,255,255,0.04);backdrop-filter:blur(4px);border:1px solid rgba(255,255,255,0.06)"><span class="text-lg" aria-hidden="true">📢</span><span>お知らせ</span></button><button class="flex items-center gap-2 px-5 py-2.5 rounded-xl text-sm font-medium tracking-wide transition-all duration-200 hover:scale-105 focus:outline-none focus:ring-2 focus:ring-cyan-400/60" style="color:#e0e7ff;background-color:rgba(255,255,255,0.04);backdrop-filter:blur(4px);border:1px solid rgba(255,255,255,0.06)"><span class="text-lg" aria-hidden="true">⚙️</span><span>設定</span></button></nav></div>
▸ コンソール
2部品・0〜数百トークン
✕