{"id":15101684,"url":"https://github.com/mdbootstrap/bootstrap-max-width","last_synced_at":"2026-01-20T10:32:23.449Z","repository":{"id":66086832,"uuid":"502975240","full_name":"mdbootstrap/bootstrap-max-width","owner":"mdbootstrap","description":"Responsive Max Width built with Bootstrap 5. Learn how to make a container or an element max width within its parent.","archived":false,"fork":false,"pushed_at":"2022-06-15T10:17:38.000Z","size":957,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-11-30T19:02:40.545Z","etag":null,"topics":["bootstrap","bootstrap5","bootstrap5-template","respon","responsive","responsive-design","size","sizing"],"latest_commit_sha":null,"homepage":"https://mdbootstrap.com/docs/standard/extended/max-width/","language":"SCSS","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/mdbootstrap.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":"2022-06-13T13:48:01.000Z","updated_at":"2022-06-14T15:02:10.000Z","dependencies_parsed_at":"2023-06-07T20:30:43.018Z","dependency_job_id":null,"html_url":"https://github.com/mdbootstrap/bootstrap-max-width","commit_stats":{"total_commits":3,"total_committers":2,"mean_commits":1.5,"dds":"0.33333333333333337","last_synced_commit":"5516b9dad16c753e61e1589d321bf8d40b4302ea"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mdbootstrap/bootstrap-max-width","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdbootstrap%2Fbootstrap-max-width","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdbootstrap%2Fbootstrap-max-width/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdbootstrap%2Fbootstrap-max-width/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdbootstrap%2Fbootstrap-max-width/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdbootstrap","download_url":"https://codeload.github.com/mdbootstrap/bootstrap-max-width/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdbootstrap%2Fbootstrap-max-width/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28601831,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T09:39:28.479Z","status":"ssl_error","status_checked_at":"2026-01-20T09:38:10.511Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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","bootstrap5","bootstrap5-template","respon","responsive","responsive-design","size","sizing"],"created_at":"2024-09-25T18:28:18.754Z","updated_at":"2026-01-20T10:32:23.426Z","avatar_url":"https://github.com/mdbootstrap.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nResponsive Max Width built with Bootstrap 5. Learn how to make a container or an element max width within its parent.\n\nCheck out [Bootstrap Max Width Documentation](https://mdbootstrap.com/docs/standard/extended/max-width/) for detailed instructions \u0026 even more examples.\n\n\n## Examples\n\nWidth utilities are generated from the utility API in `_utilities.scss`. Predefined classes support `25%`, `50%`, `75%`, `100%`, and `auto` by default. In order to make an element take the entire width of its parent add a `.w-100` class to it.\n\n![Bootstrap Dark Mode](https://mdbootstrap.com/img/Marketing/github/max-width/basic.png)\n\n```html\n\u003cdiv class=\"w-25 p-3\" style=\"background-color: #eee\"\u003eWidth 25%\u003c/div\u003e\n\u003cdiv class=\"w-50 p-3\" style=\"background-color: #eee\"\u003eWidth 50%\u003c/div\u003e\n\u003cdiv class=\"w-75 p-3\" style=\"background-color: #eee\"\u003eWidth 75%\u003c/div\u003e\n\u003cdiv class=\"w-100 p-3\" style=\"background-color: rgb(201, 23, 23)\"\u003eWidth 100%\u003c/div\u003e\n\u003cdiv class=\"w-auto p-3\" style=\"background-color: #eee\"\u003eWidth auto\u003c/div\u003e\n```\n\nYou can also use `max-width: 100%;` utilities as needed.\n\n```html\n\u003cimg src=\"https://mdbcdn.b-cdn.net/img/new/slides/041.webp\" class=\"mw-100\" alt=\"wild landscape\" /\u003e\n```\n\n## Max width relative to viewport\n\nYou can also use utilities to set the width and height relative to the viewport with the `vw` (viewport width) values.\n\n```html\n\u003cdiv class=\"min-vw-100\"\u003eMin-width 100vw\u003c/div\u003e\n\u003cdiv class=\"vw-100\"\u003eWidth 100vw\u003c/div\u003e\n```\n\n## How to use?\n\n1. Download MDB 5 - free UI KIT\n\n2. Choose your favourite customized component and click on the image\n\n3. Copy \u0026 paste the code into your MDB project\n\n[▶️ Subscribe to YouTube channel for web development tutorials \u0026 resources](https://www.youtube.com/MDBootstrap?sub_confirmation=1)\n\n\n\n___\n\n## More extended Bootstrap documentation\n\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/bootstrap-address-form/\"\u003eBootstrap Address Form\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/avatar/\"\u003eBootstrap Avatar\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/back-to-top/\"\u003eBootstrap Back To Top Button\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/carousel-with-thumbnails/\"\u003eBootstrap Carousel Slider with Thumbnails\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/chat/\"\u003eBootstrap Chat\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/code/\"\u003eBootstrap Code Blocks\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/comments/\"\u003eBootstrap Comments\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/bootstrap-comparison-table/\"\u003eBootstrap Comparison Table\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/credit-card/\"\u003eBootstrap Credit Card Form\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/drawer/\"\u003eBootstrap Drawer\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/dropdown-multilevel/\"\u003eBootstrap Nested Dropdown\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/faq/\"\u003eBootstrap FAQ component / section\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/gallery/\"\u003eBootstrap Gallery\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/hamburger-menu/\"\u003eBootstrap Hamburger Menu\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/bootstrap-invoice/\"\u003eBootstrap Invoice\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/jumbotron/\"\u003eBootstrap Jumbotron\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/login/\"\u003eBootstrap Login Form\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/maps/\"\u003eBootstrap Maps\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/media-object/\"\u003eBootstrap Media Object\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/mega-menu/\"\u003eBootstrap Mega Menu\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/multiselect/\"\u003eBootstrap Multiselect\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/news-feed/\"\u003eBootstrap News Feed\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/offcanvas/\"\u003eBootstrap Offcanvas\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/order-details/\"\u003eBootstrap Order Details\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/page-transitions/\"\u003eBootstrap Page Transitions\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/payment-forms/\"\u003eBootstrap Payment Forms\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/product-cards/\"\u003eBootstrap Product Cards\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/profiles/\"\u003eBootstrap Profiles\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/quotes/\"\u003eBootstrap Quotes\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/registration/\"\u003eBootstrap Registration Form\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/search-expanding/\"\u003eBootstrap Expanding Search Bar\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/shopping-carts/\"\u003eBootstrap Shopping Carts\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/side-navbar/\"\u003eBootstrap Side Navbar\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/sidebar/\"\u003eBootstrap Sidebar\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/social-media/\"\u003eBootstrap Social Media Icons \u0026 Buttons\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/square-buttons/\"\u003eBootstrap Square Buttons\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/bootstrap-survey-form/\"\u003eBootstrap Survey Form\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/testimonial-slider/\"\u003eBootstrap Testimonial Slider\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/testimonials/\"\u003eBootstrap Testimonials\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/textarea/\"\u003eBootstrap Textarea\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/timeline/\"\u003eBootstrap Timeline\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/to-do-list/\"\u003eBootstrap To Do List\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/video-carousel/\"\u003eBootstrap Video Carousel / Gallery\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/weather/\"\u003eBootstrap Weather\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/dark-mode/\"\u003eBootstrap Dark Mode\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/padding/\"\u003eBootstrap Padding\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/modal-methods/\"\u003eBootstrap Modal Methods\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/modal-size/\"\u003eBootstrap Modal Size\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/modal-backdrop/\"\u003eBootstrap Modal Backdrop\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/table-filter/\"\u003eBootstrap Table Filter\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/card-deck/\"\u003eBootstrap Card Deck\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/logo/\"\u003eBootstrap Logo\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/popup/\"\u003eBootstrap Popup\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/hero/\"\u003eBootstrap Hero\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/select-dropdown/\"\u003eBootstrap Select Dropdown\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/labels/\"\u003eBootstrap Labels\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/dialog/\"\u003eBootstrap Dialog\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/screen-sizes/\"\u003eBootstrap Screen Sizes\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/dropdown-button/\"\u003eBootstrap Dropdown Button\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/widgets/\"\u003eBootstrap Widgets\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdbootstrap%2Fbootstrap-max-width","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdbootstrap%2Fbootstrap-max-width","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdbootstrap%2Fbootstrap-max-width/lists"}