feature/comparison-slider #19

Merged
ilia merged 129 commits from feature/comparison-slider into main 2026-02-02 09:23:46 +00:00
Showing only changes of commit a3f9bc12a0 - Show all commits

View File

@@ -48,7 +48,7 @@ let { char, proximity, isPast, weight, size, fontAName, fontBName }: Props = $pr
style:font-weight={weight} style:font-weight={weight}
style:font-size={`${size}px`} style:font-size={`${size}px`}
style:transform=" style:transform="
scale({1 + proximity * 0.2}) scale({1 + proximity * 0.3})
translateY({-proximity * 12}px) translateY({-proximity * 12}px)
rotateY({proximity * 25 * (isPast ? -1 : 1)}deg) rotateY({proximity * 25 * (isPast ? -1 : 1)}deg)
" "