.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
--bs-gutter-x: 1.5rem;
--bs-gutter-y: 0;
width: 100%;
**padding-right: calc(var(--bs-gutter-x) * .5);**
**padding-left: calc(var(--bs-gutter-x) * .5);**
margin-right: auto;
margin-left: auto;
}
.container-fluid {
padding: 3% 15%; //I'm trying to use this padding.
}
Even though I set a padding for .container-fluid, it doesn't apply to the left and right sides only. I need the padding on both sides.
I've attempted to apply: padding-left: 0; padding-right: 0;
But nothing seems to work!!!