{"id":16758130,"url":"https://github.com/foo123/minicarousel","last_synced_at":"2025-03-16T07:25:42.310Z","repository":{"id":211934577,"uuid":"730131044","full_name":"foo123/minicarousel","owner":"foo123","description":"Optimized responsive Carousel for Desktop and Mobile","archived":false,"fork":false,"pushed_at":"2024-09-27T15:21:19.000Z","size":379,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T19:48:37.380Z","etag":null,"topics":["carousel","carousel-slider","responsive"],"latest_commit_sha":null,"homepage":"https://foo123.github.io/examples/minicarousel/","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/foo123.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":"2023-12-11T09:19:44.000Z","updated_at":"2024-09-27T15:20:03.000Z","dependencies_parsed_at":"2025-01-22T19:55:24.165Z","dependency_job_id":null,"html_url":"https://github.com/foo123/minicarousel","commit_stats":null,"previous_names":["foo123/minicarousel"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foo123%2Fminicarousel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foo123%2Fminicarousel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foo123%2Fminicarousel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foo123%2Fminicarousel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foo123","download_url":"https://codeload.github.com/foo123/minicarousel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243838258,"owners_count":20356005,"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":["carousel","carousel-slider","responsive"],"created_at":"2024-10-13T04:04:14.460Z","updated_at":"2025-03-16T07:25:42.287Z","avatar_url":"https://github.com/foo123.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# minicarousel\n\nOptimized responsive Carousel for Desktop and Mobile\n\n**version: 1.2.2** (7kB minified)\n\n**demo**\n\n```html\n\u003cstyle type=\"text/css\"\u003e\n.minicarousel {\n    width: 1200px;\n    max-width: 100%;\n    margin: 40px auto;\n    --visible-items: 4;\n    --scroll-by: 0; /* scroll by all visible items at once */\n}\n.minicarousel li {\n    padding: 70px 0;\n    text-align: center;\n    font-weight: 900;\n    border: 4px solid #d9d9d9;\n}\n@media (max-width: 800px) {\n.minicarousel {\n    --visible-items: 2;\n    --scroll-by: 1; /* scroll one by one */\n}\n}\n@media (max-width: 400px) {\n.minicarousel {\n    --visible-items: 1;\n    /*--show-buttons: 0;*/ /* hide prev/next buttons */\n    --auto-scroll: auto; /* scroll manually */\n}\n}\n\u003c/style\u003e\n\u003cdiv class=\"minicarousel\"\u003e\n\u003cdiv class=\"minicarousel-viewport\"\u003e\n\u003cul\u003e\n\u003cli\u003e1\u003c/li\u003e\n\u003cli\u003e2\u003c/li\u003e\n\u003cli\u003e3\u003c/li\u003e\n\u003cli\u003e4\u003c/li\u003e\n\u003cli\u003e5\u003c/li\u003e\n\u003cli\u003e6\u003c/li\u003e\n\u003cli\u003e7\u003c/li\u003e\n\u003cli\u003e8\u003c/li\u003e\n\u003cli\u003e9\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/div\u003e\n\u003c/div\u003e\n\u003cscript\u003eminicarousel(document.querySelectorAll('.minicarousel'));\u003c/script\u003e\n```\n\n**output**\n\n![minicarousel demo](/minicarousel.gif)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoo123%2Fminicarousel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoo123%2Fminicarousel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoo123%2Fminicarousel/lists"}