<div class="crypto-card">
<div class="crypto-header">
<div class="crypto-title">
<div class="crypto-icon">
<svg viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2">
<circle cx="12" cy="12" r="10"></circle>
<path d="M12 8v8"></path>
<path d="M9 10h6"></path>
<path d="M9 14h6"></path>
</svg>
</div>
<span>Bitcoin</span>
</div>
<span class="crypto-badge">BTC</span>
</div>
<div class="crypto-price">$64,230.00</div>
<div class="crypto-change positive">
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="23 6 13.5 15.5 8.5 10.5 1 18"></polyline>
<polyline points="17 6 23 6 23 12"></polyline>
</svg>
+4.25%
</div>
<div class="crypto-chart">
<svg viewBox="0 0 100 30" preserveAspectRatio="none" width="100%" height="100%">
<path d="M0,25 C20,20 30,10 50,15 C70,20 80,5 100,2" fill="none" stroke="#10b981" stroke-width="2" stroke-linecap="round"></path>
<path d="M0,25 C20,20 30,10 50,15 C70,20 80,5 100,2 L100,30 L0,30 Z" fill="url(#grad)" opacity="0.2"></path>
<defs>
<linearGradient id="grad" x1="0" y1="0" x2="0" y2="1">
<stop offset="0%" stop-color="#10b981"></stop>
<stop offset="100%" stop-color="transparent"></stop>
</linearGradient>
</defs>
</svg>
</div>
</div>
Back to Snippets
Modern Crypto Price Ticker Card CSS
Showcase financial data with this sleek crypto ticker. We designed a clean glassmorphism card and included an SVG sparkline chart, so your stats look incredible.
68