{"id":15994332,"url":"https://github.com/oskarrough/rough-cover","last_synced_at":"2026-07-01T17:32:05.789Z","repository":{"id":8570425,"uuid":"10198927","full_name":"oskarrough/rough-cover","owner":"oskarrough","description":"Fallback for background-size: cover","archived":false,"fork":false,"pushed_at":"2013-11-27T12:52:37.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-08T12:25:25.793Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oskarrough.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-21T15:24:37.000Z","updated_at":"2013-11-27T12:52:37.000Z","dependencies_parsed_at":"2022-09-17T13:01:14.188Z","dependency_job_id":null,"html_url":"https://github.com/oskarrough/rough-cover","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/oskarrough/rough-cover","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oskarrough%2Frough-cover","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oskarrough%2Frough-cover/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oskarrough%2Frough-cover/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oskarrough%2Frough-cover/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oskarrough","download_url":"https://codeload.github.com/oskarrough/rough-cover/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oskarrough%2Frough-cover/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35017089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-01T02:00:05.325Z","response_time":130,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-08T07:08:32.486Z","updated_at":"2026-07-01T17:32:05.771Z","avatar_url":"https://github.com/oskarrough.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rough: Cover\n\nAs [background-size](http://caniuse.com/#feat=background-img-opts) isn't too well supported, this component will check for `background-size` support and create scalable and absolutely centered `img` out of the background images.\n\n## Installation\n\n* With [Bower](http://bower.io/): `bower install --save rough-cover`\n* With git: `git clone https://github.com/oskarrough/rough-cover.git`\n* As download: [zip](https://github.com/oskarrough/rough-cover/zipball/master)\n\n## Getting started\n\n* `\u003cdiv class=\"Cover Cover--intrinsic\"\u003e` - will scale height based on width. Be sure to edit the ratio in the CSS.\n* `\u003cdiv class=\"Cover Cover--fixed\"\u003e` - will center image both horizontally and vertically inside the fixed dimensions. Be sure to edit the height in the CSS.\n* If you want these default styles, be sure that the element that contains the background image has the class `.Cover`.\n\nAnd Check the demo.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foskarrough%2Frough-cover","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foskarrough%2Frough-cover","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foskarrough%2Frough-cover/lists"}