feature/comparison-slider #19
@@ -48,7 +48,7 @@ let { char, proximity, isPast, weight, size, fontAName, fontBName }: Props = $pr
|
||||
style:font-weight={weight}
|
||||
style:font-size={`${size}px`}
|
||||
style:transform="
|
||||
scale({1 + proximity * 0.2})
|
||||
scale({1 + proximity * 0.3})
|
||||
translateY({-proximity * 12}px)
|
||||
rotateY({proximity * 25 * (isPast ? -1 : 1)}deg)
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user