Home > Software design >  How to delete all breakpoints in Bootstrap 5?
How to delete all breakpoints in Bootstrap 5?

Time:10-01

I do not use breakpoints in my project. How to delete all Bootstrap 5 breakpoints from css?

CodePudding user response:

Simply set the default (xs) breakpoint...

@import "functions";
@import "variables";

$grid-breakpoints: (
  xs: 0
);

@import "bootstrap";

Here's a demo, showing how *-sm, *-md *-lg, etc.. have no effect.

  • Related