Closed
Description
It would be great to be able to define viewport values in vh units (or percentage/fraction of window height) ex: from: 'top-bottom', to: 'top-75vh'
. Use case example: to reveal elements as they scroll into view (with opacity and a bit of movement) and have the transition end as the element's top reaches 25% from the bottom. I could use calc
and let the opacity go above 1 using top-middle
, but the movement would continue.
Metadata
Metadata
Assignees
Labels
No labels