v5: Enable negative margins by default
See original GitHub issueCan we please have
$enable-negative-margins: true
enabled by default in v5 [ v4.x has this enabled by default and having to custom build bootstrap v5 to enable this seems like a step backwards ]
Thanks
Issue Analytics
- State:
- Created 3 years ago
- Reactions:15
- Comments:15 (8 by maintainers)
Top Results From Across the Web
Spacing · Bootstrap v5.0
In CSS, margin properties can utilize negative values ( padding cannot). These negative margins are disabled by default, but can be enabled in...
Read more >Spacing · Boosted v5.0
In CSS, margin properties can utilize negative values ( padding cannot). These negative margins are disabled by default, but can be enabled in...
Read more >Bootstrap Spacing - examples & tutorial
In CSS, margin properties can utilize negative values ( padding cannot). These negative margins are disabled by default, but can be enabled in...
Read more >Bootstrap 5 — Sizing, Spacing, Wrapping, and Alignment
Negative margins are disabled by default in Bootstrap 5, but we can enable it in the SASS code by setting $enable-negative-margins property ...
Read more >How to Add Negative Margin Using Bootstrap on Desktop ...
The is no mb-n15 class. There are negative margins classes for 0 - 5 units that can be set responsively. So for example,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I would appreciate negative margins enabled by default too.
Is this resolved or never gonna happen? I am not an expert to compile bootstrap. It would be nice of you can provide a CDN link with negative margins