{"id":22680175,"url":"https://github.com/coderooz/simple-page-loading-bar-animation","last_synced_at":"2025-06-24T06:33:55.340Z","repository":{"id":248660337,"uuid":"829333654","full_name":"coderooz/Simple-Page-Loading-Bar-Animation","owner":"coderooz","description":"This project demonstrates a simple page loading bar animation using CSS only. It includes a centered block with a loading bar and a title.","archived":false,"fork":false,"pushed_at":"2024-07-16T08:22:02.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-04T14:36:22.472Z","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-16T08:14:52.000Z","updated_at":"2024-07-16T08:22:05.000Z","dependencies_parsed_at":"2024-07-16T10:56:26.968Z","dependency_job_id":null,"html_url":"https://github.com/coderooz/Simple-Page-Loading-Bar-Animation","commit_stats":null,"previous_names":["coderooz/simple-page-loading-bar-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-Bar-Animation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderooz%2FSimple-Page-Loading-Bar-Animation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderooz%2FSimple-Page-Loading-Bar-Animation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderooz%2FSimple-Page-Loading-Bar-Animation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderooz","download_url":"https://codeload.github.com/coderooz/Simple-Page-Loading-Bar-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:36.994Z","updated_at":"2025-03-29T13:43:19.992Z","avatar_url":"https://github.com/coderooz.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Page Loading Bar Animation\r\n\r\n![Simple Page Loading Bar Animation](./image.png)\r\n\r\n\r\nThis project demonstrates a simple page loading bar animation using CSS only. It includes a centered block with a loading bar 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-Bar-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 Bar 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 Bar Animation\u003c/h1\u003e\r\n    \u003cdiv class=\"loader-bar\"\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\nmargin: 0;\r\npadding: 0;\r\nbox-sizing: border-box;\r\n}\r\n\r\n/* Center the content vertically and horizontally */\r\nhtml, body {\r\nheight: 100%;\r\ndisplay: flex;\r\njustify-content: center;\r\nalign-items: center;\r\nbackground-color: #f0f0f0;\r\n}\r\n\r\n.container {\r\ntext-align: center;\r\n}\r\n\r\nh1 {\r\nfont-family: Arial, sans-serif;\r\nfont-size: 24px;\r\nmargin-bottom: 20px;\r\n}\r\n\r\n.loader-bar {\r\nwidth: 100%;\r\nheight: 10px;\r\nbackground-color: #ddd;\r\nposition: relative;\r\n}\r\n\r\n.loader-bar::after {\r\ncontent: '';\r\ndisplay: block;\r\nwidth: 50px;\r\nheight: 100%;\r\nbackground-color: #3498db;\r\nposition: absolute;\r\nanimation: progress 2s ease-in-out infinite;\r\n}\r\n\r\n@keyframes progress {\r\n0% { width: 0; }\r\n50% { width: 50%; }\r\n100% { width: 100%; }\r\n}\r\n``` \r\n\r\n## Credits\r\n\r\n- CSS Loading 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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderooz%2Fsimple-page-loading-bar-animation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderooz%2Fsimple-page-loading-bar-animation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderooz%2Fsimple-page-loading-bar-animation/lists"}