{"id":18308264,"url":"https://github.com/takaneichinose/bootstrap-off-canvas","last_synced_at":"2026-04-13T22:31:23.628Z","repository":{"id":93601275,"uuid":"170682412","full_name":"takaneichinose/bootstrap-off-canvas","owner":"takaneichinose","description":"Just a simple implementation of off canvas on Bootstrap.","archived":false,"fork":false,"pushed_at":"2022-10-04T01:06:46.000Z","size":23,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T11:34:36.837Z","etag":null,"topics":["bootstrap","bootstrap-4","bootstrap4","css","css3","helpers","hide-show","html","html5","javascript","jquery","jquery-plugin","menu","menu-navigation","offcanvas","offcanvas-menu","side","side-menu","sidemenu","toggle"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/takaneichinose.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":"2019-02-14T11:41:15.000Z","updated_at":"2023-03-10T07:03:07.000Z","dependencies_parsed_at":"2023-05-02T04:23:51.659Z","dependency_job_id":null,"html_url":"https://github.com/takaneichinose/bootstrap-off-canvas","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/takaneichinose/bootstrap-off-canvas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takaneichinose%2Fbootstrap-off-canvas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takaneichinose%2Fbootstrap-off-canvas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takaneichinose%2Fbootstrap-off-canvas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takaneichinose%2Fbootstrap-off-canvas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/takaneichinose","download_url":"https://codeload.github.com/takaneichinose/bootstrap-off-canvas/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takaneichinose%2Fbootstrap-off-canvas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31773971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bootstrap","bootstrap-4","bootstrap4","css","css3","helpers","hide-show","html","html5","javascript","jquery","jquery-plugin","menu","menu-navigation","offcanvas","offcanvas-menu","side","side-menu","sidemenu","toggle"],"created_at":"2024-11-05T16:07:26.929Z","updated_at":"2026-04-13T22:31:23.608Z","avatar_url":"https://github.com/takaneichinose.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bootstrap Off Canvas\nJust a simple implementation of off canvas on Bootstrap.\n# Basic Usage\nImport these lines on your source code.\n```html\n\u003clink rel=\"stylesheet\" href=\"css/bootstrap-off-canvas.css\"\u003e\n\u003cscript src=\"js/bootstrap-off-canvas.js\"\u003e\u003c/script\u003e\n```\nThen wrap your usual Bootstrap code in these lines of HTML codes.\n```html\n\u003cdiv class=\"off-canvas-wrapper\"\u003e\n  \u003cdiv id=\"offcanvasid\" class=\"off-canvas\"\u003e\n    \u003cdiv class=\"off-canvas-nav\"\u003e\n      \u003cdiv class=\"nav nav-pills nav-fill flex-column\"\u003e\n        \u003ca href=\"#\" class=\"text-left nav-item nav-link active\"\u003eLink 1\u003c/a\u003e\n        \u003ca href=\"#\" class=\"text-left nav-item nav-link\"\u003eLink 2\u003c/a\u003e\n        \u003ca href=\"#\" class=\"text-left nav-item nav-link disabled\"\u003eDisabled Link\u003c/a\u003e\n      \u003c/div\u003e\n      \u003cdiv class=\"off-canvas-content\" data-target=\"#offcanvasid\"\u003e\n        \u003ca href=\"#\" class=\"off-canvas-toggler\" type=\"button\" data-target=\"#offcanvasid\" aria-controls=\"offcanvasSupportedContent\" aria-expanded=\"false\" aria-label=\"Toggle off canvas menu\"\u003eToggle off canvas\u003c/a\u003e\n        \u003c!-- Your usual Bootstrap code goes here --\u003e\n        \u003cdiv class=\"container\"\u003e\n          ...\n        \u003c/div\u003e\n      \u003c/div\u003e\n    \u003c/div\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n```\n# Options\n\nIn ```off-canvas-nav``` class, you may use the Bootstrap's utility [Colors](https://getbootstrap.com/docs/4.3/utilities/colors/).\\\n\nIn ```off-canvas-content``` class, you may add ```overlay``` to add overlay mask on the content part of your source code.\n\nExample:\n```HTML\n\u003cdiv class=\"off-canvas-content overlay\" data-target=\"#offcanvasid\"\u003e\n  ...\n\u003c/div\u003e\n```\n\nIn ```off-canvas-content``` class, you may add ```off-canvas-no-close``` to disable close event if the content is clicked when opened.\n\nExample:\n```HTML\n\u003cdiv class=\"off-canvas-content off-canvas-no-close\" data-target=\"#offcanvasid\"\u003e\n  ...\n\u003c/div\u003e\n```\n\nIf you want your off-canvas menu to be floating over the content, you should make your HTML structure the way below:\n\nExample:\n```HTML\n\u003cdiv id=\"off_canvas\" class=\"off-canvas off-canvas-floating\"\u003e\n  \u003c!-- Just use the default Bootstrap color utility here --\u003e\n  \u003cdiv class=\"off-canvas-nav bg-dark\"\u003e\n    \u003c!-- You may use any of the bootstrap components here --\u003e\n    \u003cdiv class=\"nav nav-pills nav-fill flex-column\"\u003e\n      \u003ca href=\"#\" class=\"text-left nav-item nav-link active\"\u003eLink 1\u003c/a\u003e\n        \u003ca href=\"#\" class=\"text-left nav-item nav-link\"\u003eLink 2\u003c/a\u003e\n        \u003ca href=\"#\" class=\"text-left nav-item nav-link disabled\"\u003eDisabled Link\u003c/a\u003e\n    \u003c/div\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n\u003c!-- Your usual Bootstrap code goes here --\u003e\n\u003ca href=\"#\" class=\"off-canvas-toggler\" type=\"button\" data-target=\"#offcanvasid\" aria-controls=\"offcanvasSupportedContent\" aria-expanded=\"false\" aria-label=\"Toggle off canvas menu\"\u003eToggle off canvas\u003c/a\u003e\n\u003cdiv class=\"container\"\u003e\n  ...\n\u003c/div\u003e\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakaneichinose%2Fbootstrap-off-canvas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakaneichinose%2Fbootstrap-off-canvas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakaneichinose%2Fbootstrap-off-canvas/lists"}