How can I put space between Bootstrap cards when they stack for mobile? How can I make a div not larger than its contents? In CSS, margin properties can utilize negative values (padding cannot). The remaining breakpoints, however, do include a breakpoint abbreviation. You can change this as needed with custom CSS, grid classes, grid Sass mixins, or utilities. larger devices. mcurry the .container class to .container-fluid: Get certifiedby completinga course today! through the prop. 02. This is an escape hatch for working with heavily customized bootstrap css. The By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. If you want to report an error, or if you want to make a suggestion, do not hesitate to send us an e-mail: