You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[scroll-animations] Add css syntax for element-based offset (#5264)
Add css syntax to for element-based offsets. Fixes#4337.
The element-based syntax is simply applied when the value starts with `selector(#id)` with the following characteristics:
- `selector( <<id-selector>> )` is required and is expected to be the first value.
- both edge and threshold are optional can can be provided in any order.
I followed some of the ideas mentioned by @tabatkins in #4348 to to get to a more ergonomic css function syntax. In particular there is no comma and the optional params can be in any order. Note that unlike #4348 we are not adding a function syntax.
0 commit comments