{"id":22680177,"url":"https://github.com/coderooz/simple-page-loading-animation","last_synced_at":"2025-03-29T13:43:22.397Z","repository":{"id":248655921,"uuid":"829319574","full_name":"coderooz/Simple-Page-Loading-Animation","owner":"coderooz","description":"This project demonstrates a simple page loading animation using CSS only. It includes a centered block with a loading spinner and a title.","archived":false,"fork":false,"pushed_at":"2024-07-16T07:46:20.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-04T14:36:21.568Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/coderooz.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,"publiccode":null,"codemeta":null}},"created_at":"2024-07-16T07:39:11.000Z","updated_at":"2024-07-16T07:46:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"aae5d6e8-9016-459a-bd0c-8c7957d5831b","html_url":"https://github.com/coderooz/Simple-Page-Loading-Animation","commit_stats":null,"previous_names":["coderooz/simple-page-loading-animation"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderooz%2FSimple-Page-Loading-Animation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderooz%2FSimple-Page-Loading-Animation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderooz%2FSimple-Page-Loading-Animation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderooz%2FSimple-Page-Loading-Animation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderooz","download_url":"https://codeload.github.com/coderooz/Simple-Page-Loading-Animation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246193156,"owners_count":20738450,"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":[],"created_at":"2024-12-09T19:12:37.856Z","updated_at":"2025-03-29T13:43:22.391Z","avatar_url":"https://github.com/coderooz.png","language":"CSS","readme":"# Simple Page Loading Animation\r\n\r\nThis project demonstrates a simple page loading animation using CSS only. It includes a centered block with a loading spinner and a title.\r\n\r\n## Features\r\n\r\n- **Title:** Displayed at the top of the page.\r\n- **Loading Animation:** A spinner animation in the center of the page.\r\n- **Responsive Design:** Centered content adjusts based on screen size.\r\n\r\n## How to Use\r\n\r\n1. Clone the repository: `https://github.com/coderooz/Simple-Page-Loading-Animation`\r\n2. Open `index.html` in a web browser.\r\n\r\n\r\n### Project Structure\r\n\r\n```\r\nproject-folder/\r\n│\r\n├── index.html\r\n├── style.css\r\n└── README.md\r\n```\r\n\r\n### Code in the project\r\n### index.html\r\n\r\n```html\r\n\u003c!DOCTYPE html\u003e\r\n\u003chtml lang=\"en\"\u003e\r\n\u003chead\u003e\r\n  \u003cmeta charset=\"UTF-8\"\u003e\r\n  \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"\u003e\r\n  \u003ctitle\u003eLoading Animation Example\u003c/title\u003e\r\n  \u003clink rel=\"stylesheet\" href=\"style.css\"\u003e\r\n\u003c/head\u003e\r\n\u003cbody\u003e\r\n  \u003cdiv class=\"container\"\u003e\r\n    \u003ch1\u003eLoading Animation\u003c/h1\u003e\r\n    \u003cdiv class=\"loader\"\u003e\u003c/div\u003e\r\n  \u003c/div\u003e\r\n\u003c/body\u003e\r\n\u003c/html\u003e\r\n```\r\n\r\n### style.css\r\n\r\n```css\r\n/* Reset some default styles */\r\n* {\r\n  margin: 0;\r\n  padding: 0;\r\n  box-sizing: border-box;\r\n}\r\n\r\n/* Center the content vertically and horizontally */\r\nhtml, body {\r\n  height: 100%;\r\n  display: flex;\r\n  justify-content: center;\r\n  align-items: center;\r\n  background-color: #f0f0f0;\r\n}\r\n\r\n.container {\r\n  text-align: center;\r\n}\r\n\r\nh1 {\r\n  font-family: Arial, sans-serif;\r\n  font-size: 24px;\r\n  margin-bottom: 20px;\r\n}\r\n\r\n.loader {\r\n  border: 4px solid rgba(0, 0, 0, 0.1);\r\n  border-radius: 50%;\r\n  border-top: 4px solid #3498db;\r\n  width: 40px;\r\n  height: 40px;\r\n  animation: spin 1s linear infinite;\r\n  margin: 20px auto;\r\n}\r\n\r\n@keyframes spin {\r\n  0% {\r\n    transform: rotate(0deg);\r\n  }\r\n  100% {\r\n    transform: rotate(360deg);\r\n  }\r\n}\r\n``` \r\n\r\n## Credits\r\n\r\n- CSS spinner animation inspired by various online examples.\r\n- Designed and implemented by Coderooz [Ranit Saha].\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License - see the LICENSE file for details.\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderooz%2Fsimple-page-loading-animation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderooz%2Fsimple-page-loading-animation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderooz%2Fsimple-page-loading-animation/lists"}