mirror of
https://github.com/hanzoai/site.git
synced 2026-11-20 21:21:13 +00:00
Tighter hero so the three plan asks sit in the first screen at 1470x801 (bottom 765) and at 375x812 (601). The odometer only rolls between real values: no roll-in from $0 on load. The Pro ladder takes its first step at 1s. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01DqUybENZcdNawRvetSXxC3
10 lines
774 B
CSS
10 lines
774 B
CSS
/* Odometer (v2) - see Odometer.jsx */
|
|
.v2-odo { position: relative; display: inline-flex; line-height: 1; font-feature-settings: 'tnum'; white-space: nowrap; }
|
|
.v2-odo-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
|
|
.v2-odo-r { display: inline-flex; }
|
|
.v2-odo-c { display: inline-block; }
|
|
.v2-odo-d { display: inline-block; height: 1em; overflow: hidden; }
|
|
.v2-odo-s { display: block; transform: translateY(calc(var(--d) * -1em)); transition: transform .3s cubic-bezier(.16, 1, .3, 1) calc(var(--i) * 20ms); }
|
|
.v2-odo-s::before { content: '0\A 1\A 2\A 3\A 4\A 5\A 6\A 7\A 8\A 9'; display: block; white-space: pre; line-height: 1em; }
|
|
@media (prefers-reduced-motion: reduce) { .v2-odo-s { transition: none; } }
|