{"id":26697592,"url":"https://github.com/guillaume-rygn/animation.style","last_synced_at":"2025-04-13T04:36:11.112Z","repository":{"id":38084924,"uuid":"485802634","full_name":"guillaume-rygn/animation.style","owner":"guillaume-rygn","description":"🔮 Free Open Source library of CSS animations! It has never been so easy to animate elements","archived":false,"fork":false,"pushed_at":"2024-02-22T10:44:12.000Z","size":869,"stargazers_count":11,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T22:18:36.249Z","etag":null,"topics":["animation","css","css-animation"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guillaume-rygn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-26T13:39:59.000Z","updated_at":"2023-11-22T16:24:05.000Z","dependencies_parsed_at":"2025-03-26T21:32:00.485Z","dependency_job_id":"f6ef8dd3-6eea-4153-aaac-5857fc5a0ebe","html_url":"https://github.com/guillaume-rygn/animation.style","commit_stats":null,"previous_names":["guillaume-rygn/animation.css"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillaume-rygn%2Fanimation.style","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillaume-rygn%2Fanimation.style/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillaume-rygn%2Fanimation.style/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillaume-rygn%2Fanimation.style/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guillaume-rygn","download_url":"https://codeload.github.com/guillaume-rygn/animation.style/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248665347,"owners_count":21142119,"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","css","css-animation"],"created_at":"2025-03-26T21:29:19.555Z","updated_at":"2025-04-13T04:36:11.089Z","avatar_url":"https://github.com/guillaume-rygn.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Animation.style\n\n[![GitHub Version](https://img.shields.io/github/v/release/guillaume-rygn/animation-style.svg?style=for-the-badge)](https://github.com/guillaume-rygn/animation-style/releases) [![License](https://img.shields.io/badge/license-hippocratic%20license-orange.svg?longCache=true\u0026style=for-the-badge)](LICENSE.md)\n\n## ***It has never been so easy to animate elements !***\n\n## Installation\n\nInstall with npm:\n```shell\nnpm install animation.style --save\n```\n\nor install with yarn: \n\n```shell\nyarn add animation.style\n```\n\nInitialize: \nIn your CSS file add: \n\n```\n@import 'node_modules/animation.style/animation.css'\n```\n\nOr install with CDN in HEAD of your HTML file: \n\n```\n\u003clink rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/animation.style@latest/animation.min.css\"/\u003e\n```\nAdd JS script: \n\nwith yarn or npm : \n```\n\u003cscript src='node_modules/animation.style/animation.js'\u003e\u003c/script\u003e\n```\n\nwith CDN :\n```\n\u003cscript src='https://cdn.jsdelivr.net/npm/animation.style@latest/animation.js'\u003e\u003c/script\u003e\n```\n\n## How to use it \n\nAfter add Animation.style in head of your html files. You can add the class **animation** along with any animation name like :\n\n```\n\u003cp class=\"animation fadeOut\"\u003eI'm a animated element\u003c/p\u003e\n```\n\nYou can set up the duration with class **duration-[i]** with i between 1 to 10.\nSame for the delay, you can add a delay for animation with class **delay-[i]** with i between 1 to 10.\n\n### Intersection Observer \n\nWith the latest version of animation.style you can directly integrate the observer intersection to your animations ! \nFor add an animation you just need to call it in animation attribute (don't forget the class **animation**) and add the class **intersection** to the element.  \n\n```\n\u003cp class=\"animation intersection\" animation=\"fadeOut\"\u003eI'm a animated element\u003c/p\u003e\n```\n\n## Example : \n\nBasic example: \n```\n\u003cp class=\"animation fadeIn duration-3 delay-5\"\u003eI'm a animated element\u003c/p\u003e\n\nSame example with intersection observer:\n\n```\n\u003cp class=\"animation intersection\" animation=\"fadeIn leftIn\"\u003eI'm a animated element\u003c/p\u003e\n```\n\n## Animation name\n\n- **[fadeIn](source/fade/fadeIn.css)**\n- **[fadeOut](source/fade/fadeOut.css)**\n- **[leftIn](source/translate/leftIn.css)**\n- **[leftOut](source/translate/leftOut.css)**\n- **[rightIn](source/translate/rightIn.css)**\n- **[rightOut](source/translate/rightOut.css)**\n- **[topIn](source/translate/topIn.css)**\n- **[topOut](source/translate/topOut.css)**\n- **[bottomIn](source/translate/bottomIn.css)**\n- **[bottomOut](source/translate/bottomOut.css)**\n\n## Founder\n\n| [Guillaume Reygner](https://github.com/guillaume-rygn) |\n| ----------- |\n| Animation.style Creator | \n\n## License\n\nAnimation.style is licensed under the [Hippocratic License](LICENSE.md).\n\n## Code of conduct\n\nThis project and everyone participating in it is governed by the Animation.style [Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. \n\n\n## Contributing\n\nEveryone can be contributing. Please refer to the [contribution](CONTRIBUTING.md) file procedure to contribute.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguillaume-rygn%2Fanimation.style","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguillaume-rygn%2Fanimation.style","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguillaume-rygn%2Fanimation.style/lists"}