Open bramus opened 1 year ago
Unfortunately this is how the values are represented to me when reading the rangeStart
and rangeEnd
from the Animation
instance. Same with getComputedStyle
: the specified values have been computed to px
values.
I don’t see a way – without resorting to parsing the stylesheet and running my own cascade - how to get these specified values. Marking as https://github.com/bramus/scroll-driven-animations-debugger-extension/labels/wontfix and adding it to the https://github.com/bramus/scroll-driven-animations-debugger-extension/labels/FAQ.
Reopening so that the issue can be found when searching (because search defaults to non-closed issues)
E.g. https://scroll-driven-animations.style/demos/cover-to-fixed-header/css/
When you inspect the
#sticky-parallax-header
element and edit the range, theanimation-range-end
shows up as a pixel value. This is not how it was declared in the CSS. The CSS readsanimation-range: 0vh 90vh
.