{"id":20804400,"url":"https://github.com/sequencemedia/center-center","last_synced_at":"2025-05-07T03:43:20.632Z","repository":{"id":218793499,"uuid":"747364381","full_name":"sequencemedia/center-center","owner":"sequencemedia","description":"For calculating the left and top position coordinates of a vertically and horizontalled centered target element within a container, according to the container's position in the viewport","archived":false,"fork":false,"pushed_at":"2025-05-07T02:03:39.000Z","size":1002,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-07T03:43:14.709Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/sequencemedia.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,"zenodo":null}},"created_at":"2024-01-23T19:30:52.000Z","updated_at":"2025-05-07T02:03:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"35ffc97d-f18c-4244-b370-d3ad63980ac2","html_url":"https://github.com/sequencemedia/center-center","commit_stats":null,"previous_names":["sequencemedia/center-center"],"tags_count":255,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sequencemedia%2Fcenter-center","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sequencemedia%2Fcenter-center/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sequencemedia%2Fcenter-center/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sequencemedia%2Fcenter-center/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sequencemedia","download_url":"https://codeload.github.com/sequencemedia/center-center/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252810272,"owners_count":21807759,"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-11-17T19:09:12.005Z","updated_at":"2025-05-07T03:43:20.611Z","avatar_url":"https://github.com/sequencemedia.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# center-center\n\nFor calculating the `left` and `top` position coordinates of a vertically and horizontalled centered _target_ element within a _container_ according to _the container_'s position in the viewport\n\nThe target is at the _center center_ of its container here:\n\n\u003cimg alt=\"Top\" src=\"docs/images/top.png\" width=\"50%\" /\u003e\n\nAnd here:\n\n\u003cimg alt=\"Middle\" src=\"docs/images/middle.png\" width=\"50%\" /\u003e\n\nAnd here:\n\n\u003cimg alt=\"Bottom\" src=\"docs/images/bottom.png\" width=\"50%\" /\u003e\n\nThe position of the vertically and horizontalled centered target element _changes_ according to how its container is located in the viewport\n\nA demonstration can be found in [docs](docs/index.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsequencemedia%2Fcenter-center","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsequencemedia%2Fcenter-center","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsequencemedia%2Fcenter-center/lists"}