{"id":28102440,"url":"https://github.com/louisho5/motionscroll","last_synced_at":"2025-05-13T19:53:33.660Z","repository":{"id":214594153,"uuid":"736891063","full_name":"louisho5/MotionScroll","owner":"louisho5","description":"JavaScript scroll animation library","archived":false,"fork":false,"pushed_at":"2024-02-12T16:02:40.000Z","size":1905,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-02-12T17:27:59.150Z","etag":null,"topics":["animation","keyframes","keyframes-like","motion-scroll","parallax-effects","scroll-animation","scroll-motion","scroll-triggers"],"latest_commit_sha":null,"homepage":"https://louisho5.github.io/MotionScroll/example/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/louisho5.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-12-29T07:09:10.000Z","updated_at":"2024-02-12T16:01:50.000Z","dependencies_parsed_at":"2024-01-08T06:46:16.618Z","dependency_job_id":null,"html_url":"https://github.com/louisho5/MotionScroll","commit_stats":null,"previous_names":["louisho5/motionscroll"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louisho5%2FMotionScroll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louisho5%2FMotionScroll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louisho5%2FMotionScroll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louisho5%2FMotionScroll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/louisho5","download_url":"https://codeload.github.com/louisho5/MotionScroll/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254018146,"owners_count":22000407,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animation","keyframes","keyframes-like","motion-scroll","parallax-effects","scroll-animation","scroll-motion","scroll-triggers"],"created_at":"2025-05-13T19:53:33.005Z","updated_at":"2025-05-13T19:53:33.648Z","avatar_url":"https://github.com/louisho5.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MotionScroll JS\n\nCongrats! You can now create scroll animations with CSS keyframes easily.\n\nVersion 0.1.0\n\n# Examples\n\n[View on demo](https://louisho5.github.io/MotionScroll/example/)\n\n![alt thumbnail](https://raw.githubusercontent.com/louisho5/MotionScroll/main/thumbnail.gif)\n\n## Summary\n\nCreate scroll animations easily with just a single line of code by using motionscroll.js.\n\n- [x] \u003cstrong\u003eKeyframes-like animation\u003c/strong\u003e\u003cbr\u003e\n- [x] \u003cstrong\u003eCustomize everything with CSS only knowledge\u003c/strong\u003e\u003cbr\u003e\n- [x] \u003cstrong\u003eMultiple layers support\u003c/strong\u003e\u003cbr\u003e\n- [x] \u003cstrong\u003eSuper lightweight, only 4KB\u003c/strong\u003e\u003cbr\u003e\n- [x] \u003cstrong\u003eMinimal and ease to use\u003c/strong\u003e\u003cbr\u003e\n\n## Author\n\n@louisho5\n\n## Installation\n\nTo include the library in your code:\n\n```js script\n\n\u003cscript src=\"motionscroll.min.js\"\u003e\u003c/script\u003e\n\n```\n\nCDN:\n\n```js script\n\n\u003cscript src=\"https://cdn.jsdelivr.net/gh/louisho5/MotionScroll@latest/motionscroll.min.js\"\u003e\u003c/script\u003e\n\n```\n\n## Requirements/Browsers\n\nWorks in Edge 12+, Chrome 43+, Safari 9+, Firefox 28+.\n\n## Code Example\n\n**index.html**:\n\n```html\n\n\u003cdiv class=\"motionscroll\"\u003e\n  \u003cdiv data-motionscroll-to=\"transform: rotateY(360deg)\"\u003e😻\u003c/div\u003e\n\u003c/div\u003e\n\n\u003cscript src=\"motionscroll.min.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\n    new MotionScroll(\".motionscroll\");\n\u003c/script\u003e\n\n```\n\n## Parameters\n\nThere are 8 parameters in this library:\n\n```js script\n\nnew MotionScroll({\n  container: \".motionscroll\",   // The container trigger\n  layer: \"[data-motionscroll-to],[data-motionscroll-animate]\",   // The scroll animation will be applied to those layer inside the container\n  ease: 'linear',   // CSS timing function like linear, ease, ease-in-out, cubic-bezier and etc...'\n  offsetTop: 0,   // In \"px\" unit\n  offsetBottom: 0,   // In \"px\" unit\n  reverse: true,    // Reverse playing\n  playOnce: false,    // Play only once\n  override: false,    // Override all motionscroll styles\n});\n\n```\n\n## Functions\n\nThere are 2 functions in this library:\n\n```js script\n\nvar motionScroll = new MotionScroll();\n\n/* Destroy */\nmotionScroll.destroy();\n\n/* Initialize */\nmotionScroll.init();\n\n```\n\n## Plans\n\n- [ ] Publish library to npm\n\n## License\n\nThis library is under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flouisho5%2Fmotionscroll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flouisho5%2Fmotionscroll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flouisho5%2Fmotionscroll/lists"}