{"id":19528623,"url":"https://github.com/swanie21/animal-parallax","last_synced_at":"2025-02-26T02:28:08.661Z","repository":{"id":132551281,"uuid":"80451803","full_name":"swanie21/animal-parallax","owner":"swanie21","description":"Parallax Example","archived":false,"fork":false,"pushed_at":"2017-02-15T18:15:12.000Z","size":44913,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"gh-pages","last_synced_at":"2025-01-08T16:06:53.687Z","etag":null,"topics":["css3","html5","parallax-scrolling"],"latest_commit_sha":null,"homepage":"http://kirstenswanson.io/animal-parallax/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swanie21.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2017-01-30T18:48:30.000Z","updated_at":"2017-02-01T23:25:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"3b64cd9f-16cb-4d18-a125-b63db5649f2f","html_url":"https://github.com/swanie21/animal-parallax","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swanie21%2Fanimal-parallax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swanie21%2Fanimal-parallax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swanie21%2Fanimal-parallax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swanie21%2Fanimal-parallax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swanie21","download_url":"https://codeload.github.com/swanie21/animal-parallax/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240779782,"owners_count":19856250,"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":["css3","html5","parallax-scrolling"],"created_at":"2024-11-11T01:19:27.426Z","updated_at":"2025-02-26T02:28:08.604Z","avatar_url":"https://github.com/swanie21.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Animal Parallax\n\n![gif](./animal-parallax.gif)\n\n### Parallax scrolling is an effect where the background content (usually an image) is moved at a different speed than the foreground context while scrolling.\n\nUse `background` properties, viewport height and viewport width to position the `background-image`\n\n```\nsection {\n  background-attachment: fixed;\n  background-position: center;\n  background-repeat: no-repeat;\n  background-size: cover;\n  height: 100vh;\n  width: 100vw;\n}\n```\n\nUse `nth-of-type` to set a specific `background-image` to each `section`\n\n```\nsection:nth-of-type(2) {\n  background-image: url('../img/bunny.jpg');\n}\n```\n\n[Click here for more info about parallax scrolling](https://medium.com/@kswanie21/the-simplicity-of-parallax-82ff7896e43#.1d0ye1dap)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswanie21%2Fanimal-parallax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswanie21%2Fanimal-parallax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswanie21%2Fanimal-parallax/lists"}