Skip to content

Commit

Permalink
Merge pull request flackr#268 from mendelgordon/patch-1
Browse files Browse the repository at this point in the history
Update README.md with helpful note
  • Loading branch information
egirard authored Jul 8, 2024
2 parents 0a3a758 + 1881e65 commit 5bfa2c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ Also works with CSS Animations that use a `view-timeline` or `scroll-timeline`
}
```

Please ensure your CSS is hosted on the same domain as your website or included directly on the page within a <style> tag.

If you are loading stylesheets from other origins, the polyfill might not be able to fetch and apply them correctly, due to browser security restrictions.

For more details on and use-cases of scroll-driven animations, please refer to [https://developer.chrome.com/articles/scroll-driven-animations/](https://developer.chrome.com/articles/scroll-driven-animations/) and [https://scroll-driven-animations.style/](https://scroll-driven-animations.style/)

# Contributing
Expand Down

0 comments on commit 5bfa2c1

Please sign in to comment.