The Bootstrap docs explain how to enable negative margins - but that is for the case where one customises Bootstrap.
I'm using it from a CDN, but I still want those classes (e.g. mt-n1). I'd like to import them via a mixin (or something like that) into my scss. The "Utility API" shows that is possible, but I'm unsure how to invoke it from my scss file.
How do I do that?
For example:
// import bootstrap
@import "~bootstrap/scss/functions";
@import "~bootstrap/scss/variables";
@import "~bootstrap/scss/mixins";
@import "~bootstrap/scss/utilities";
// generate negative margin from $utilities:"negative-margin"
// ... <---what goes here?
I tried @include generate-utility("negative-margin") but that fails.
