question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v5: Enable negative margins by default

See original GitHub issue

Can 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:closed
  • Created 3 years ago
  • Reactions:15
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

9reactions
milesimarcocommented, Dec 10, 2020

I would appreciate negative margins enabled by default too.

7reactions
harpreetsbcommented, May 14, 2021

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found