I encountered an issue when the extra large Bootsrap 4 max container width, set at 1140px, was not wide enough for my needs. I aim to ensure that my websites look good on large monitors as well, but the bootstrap grid is too narrow. The most straightforward solution would be to override the .container max-width like this:
@media (min-width: 1200px) {
.container {
max-width: 1540px;
}
}
However, I don't just want to expand the xl max-width
. What I desire is to introduce a new comprehensive breakpoint with all of Bootstrap 4's grid features, including columns, display modes, spacing, etc. Something similar to introducing col-xxl
or another equivalent term. Ultimately, it should appear something like this:
<div class="col-xxl-2 col-xl-3 col-md-4 col-sm-6 text-xxl-center"></div>
Do you have any suggestions on how to accomplish this effectively using CSS?