This is because the viewport width is in pixels and does not change with the font size.
Bootstrap change gutter width.
Bootstrap is a popular ui library for any javascript apps.
You should use this when you also want to change the visual gutter on both side of the grid.
Styles for such a solution likely look an awful lot like iammanchanda s code snippet fwiw.
The bootstrap 4 grid system has five classes col extra small devices screen width less than 576px col sm small devices screen width equal to or greater than 576px col md medium devices screen width equal to or greater than 768px col lg large devices screen width equal to or greater than 992px col xl xlarge devices screen width equal to or greater than 1200px.
If you change grid gutter width then change the container large desktop accordingly to get your container size 1400px.
The change is not reflected and the gutter spacing remains the same.
The grid columns field allows to set a different number of columns and the grid gutter width field lets you change the gutter width.
In this case you will also have to set the padding of the container class to your gutter size.
Bootstrap 3 gutter size.
While bootstrap uses ems or rems for defining most sizes pxs are used for grid breakpoints and container widths.
Choose from a responsive fixed width container meaning its max width changes at each breakpoint by default or fluid width meaning it s 100 wide all the time by setting fluid prop or responsive containers where the container is fluid up until a specific breakpoint requires bootstrap css v4 4.
The mdb scss file imports the core bootstrap scss files during recompile but yet the change is not reflected.
Note see also this question.
The bootstrap grid allows 12 columns with 30 px wide gutters by default but these numbers can be adjusted.
In this article we ll look at how to reorder columns and add gutters with bootstrap 5.
In the future we might revisit that and better enable folks to change gutters ad hoc on rows columns.
Default grid gutter width is 30 px.
In bootstrap variables scss search for container large desktop and change its value to 1370px grid gutter width.
You can change it also.
For the variable to reduce the spacing grid gutter width.
See how aspects of the bootstrap grid system work across multiple devices with a handy table.