{"id":15180489,"url":"https://github.com/mdbootstrap/bootstrap-padding","last_synced_at":"2026-03-02T10:32:39.709Z","repository":{"id":66086838,"uuid":"502933704","full_name":"mdbootstrap/bootstrap-padding","owner":"mdbootstrap","description":"Responsive Padding styles and classes for Bootstrap 5. Examples of padding left, right, top, bottom, between columns and rows, grid padding, RTL support \u0026 more.","archived":false,"fork":false,"pushed_at":"2022-06-15T09:59:12.000Z","size":958,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-18T21:03:07.260Z","etag":null,"topics":["bootstrap","bootstrap5","bootstrap5-template","gutters","padding","responsive-design","spacing"],"latest_commit_sha":null,"homepage":"https://mdbootstrap.com/docs/standard/extended/padding/","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-13T11:48:54.000Z","updated_at":"2022-06-14T14:51:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"c45971d5-7a5c-474a-a595-7a1cdcddc3db","html_url":"https://github.com/mdbootstrap/bootstrap-padding","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":0.4,"last_synced_commit":"bc525e7350a7cedb157871b6208e5dbe93a41c1f"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mdbootstrap/bootstrap-padding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdbootstrap%2Fbootstrap-padding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdbootstrap%2Fbootstrap-padding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdbootstrap%2Fbootstrap-padding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdbootstrap%2Fbootstrap-padding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdbootstrap","download_url":"https://codeload.github.com/mdbootstrap/bootstrap-padding/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdbootstrap%2Fbootstrap-padding/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29998513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T09:59:02.300Z","status":"ssl_error","status_checked_at":"2026-03-02T09:59:02.001Z","response_time":60,"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","bootstrap5","bootstrap5-template","gutters","padding","responsive-design","spacing"],"created_at":"2024-09-27T16:20:54.016Z","updated_at":"2026-03-02T10:32:39.689Z","avatar_url":"https://github.com/mdbootstrap.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nResponsive Padding styles and classes for Bootstrap 5. Examples of padding left, right, top, bottom, between columns and rows, grid padding, RTL support \u0026 more.\n\nBefore reading this helper page make sure that you have checked out the main documentation pages for\n[Gutters](https://mdbootstrap.com/docs/standard/layout/gutters/) - padding between your columns, used to responsively space and align content in the Bootstrap grid system.\n[Spacing](https://mdbootstrap.com/docs/standard/utilities/spacing/) - shorthand responsive margin and padding utility classes to modify an element’s appearance.\nThe links above contain more comprehensive and structured explanations of padding \u0026 margin use in Bootstrap 5, this helper page will only provide you with quick examples.\n\nCheck out [Bootstrap Padding Documentation](https://mdbootstrap.com/docs/standard/extended/padding/) for detailed instructions \u0026 even more examples.\n\n\n\n\n## Padding classes\nAdd padding values to an element or a subset of its sides using shortcode classes. Individual top, bottom, left, right as well as horizontal, vertical and \"add to all sides\" properties are supported. Classes range from .25rem to 3rem and are based on the default Sass map.\n\nMDB supports RTL, so for example, for the **padding on the right**: you have to use the class `pe-*` (padding end) instead of `pr-*` (padding right). Thanks to this notation, your padding will be inverted for users with right-to-left setting enabled. You can learn more about Right to Left support in our [RTL docs](https://mdbootstrap.com/docs/standard/getting-started/rtl/).\n\nBelow is an example using classes for the **right padding** (padding at the end) with a visual representation of their sizes. The same sizes apply to all directions (left, right, top, bottom).\n\n\n![Bootstrap Padding](https://mdbootstrap.com/img/Marketing/github/padding/basic.png)\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/modal-size/\"\u003eBootstrap Modal Size\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-backdrop/\"\u003eBootstrap Modal Backdrop\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/table-filter/\"\u003eBootstrap Table Filter\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"https://mdbootstrap.com/docs/standard/extended/slider/\"\u003eBootstrap Slider\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/max-width/\"\u003eBootstrap Max Width\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\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdbootstrap%2Fbootstrap-padding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdbootstrap%2Fbootstrap-padding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdbootstrap%2Fbootstrap-padding/lists"}