Gutters
Fustulae paginae sunt inter columnas tuas, ad spatium responsive adhibitum et align content in systemate craticula Bootstrap.
Quam ad operandum
-
Iaculae lacunae inter columnae contentae horizontalibus creatae sunt
padding
. Constituimuspadding-right
etpadding-left
in unaquaque columna, et negandomargin
ad offset quod in principio et fine cuiusque ordinis ad align contentum adhibemus. -
Tetigisset domatum fistulas committitur
1.5rem
(24px
) lata. Hoc nobis permittit ut nostram necessitatem in Nullam et marginem spacers scalae inserere. -
Iuliae responsive componi possunt. Utere punctorum specialium triviarum ad modificandas fistulas horizontales, canales verticales, et omnes canales.
Horizontalis tetigisset domatum fistulas
.gx-*
classes adhiberi possunt ad stillicidium horizontalem moderari. .container
Aut parens aptari .container-fluid
potest si maiores canales adhibentur etiam ad vitandam inutilem redundantiam, congruens colori utilitate utens. Exempli gratia in hoc exemplo Nullam additammus cum .px-4
:
<div class="container px-4 text-center">
<div class="row gx-5">
<div class="col">
<div class="p-3 border bg-light">Custom column padding</div>
</div>
<div class="col">
<div class="p-3 border bg-light">Custom column padding</div>
</div>
</div>
</div>
Vel solutio est fasciam .row
cum .overflow-hidden
classe adicere;
<div class="container overflow-hidden text-center">
<div class="row gx-5">
<div class="col">
<div class="p-3 border bg-light">Custom column padding</div>
</div>
<div class="col">
<div class="p-3 border bg-light">Custom column padding</div>
</div>
</div>
</div>
Vertical tetigisset domatum fistulas
.gy-*
classes ad canalem verticalem inversas intra ordinem moderari possunt cum columnae novis lineis involvunt. Ut guttulis horizontalibus, canales verticales aliquantum redundantiam possunt infra .row
ad finem paginae causare. .row
Si hoc incidit, fasciam cum .overflow-hidden
classe addis ;
<div class="container overflow-hidden text-center">
<div class="row gy-5">
<div class="col-6">
<div class="p-3 border bg-light">Custom column padding</div>
</div>
<div class="col-6">
<div class="p-3 border bg-light">Custom column padding</div>
</div>
<div class="col-6">
<div class="p-3 border bg-light">Custom column padding</div>
</div>
<div class="col-6">
<div class="p-3 border bg-light">Custom column padding</div>
</div>
</div>
</div>
Horizontalis & vertical tetigisset domatum fistulas
.g-*
classes ad moderandas fistulas horizontales inversas, hoc exemplo utimur minorem latitudinem canalem, ideo non opus erit addere .overflow-hidden
fasciam classis.
<div class="container text-center">
<div class="row g-2">
<div class="col-6">
<div class="p-3 border bg-light">Custom column padding</div>
</div>
<div class="col-6">
<div class="p-3 border bg-light">Custom column padding</div>
</div>
<div class="col-6">
<div class="p-3 border bg-light">Custom column padding</div>
</div>
<div class="col-6">
<div class="p-3 border bg-light">Custom column padding</div>
</div>
</div>
</div>
Row columnas tetigisset domatum fistulas
Gutter classes etiam ad columnas remigandi addi possunt . In hoc exemplo utimur columnis responsuris et canaliculis responsuris.
<div class="container text-center">
<div class="row row-cols-2 row-cols-lg-5 g-2 g-lg-3">
<div class="col">
<div class="p-3 border bg-light">Row column</div>
</div>
<div class="col">
<div class="p-3 border bg-light">Row column</div>
</div>
<div class="col">
<div class="p-3 border bg-light">Row column</div>
</div>
<div class="col">
<div class="p-3 border bg-light">Row column</div>
</div>
<div class="col">
<div class="p-3 border bg-light">Row column</div>
</div>
<div class="col">
<div class="p-3 border bg-light">Row column</div>
</div>
<div class="col">
<div class="p-3 border bg-light">Row column</div>
</div>
<div class="col">
<div class="p-3 border bg-light">Row column</div>
</div>
<div class="col">
<div class="p-3 border bg-light">Row column</div>
</div>
<div class="col">
<div class="p-3 border bg-light">Row column</div>
</div>
</div>
</div>
Non tetigisset domatum fistulas
Canales inter columnas in eget classibus praedefinitis nostris tolli possunt .g-0
. Hoc removet nega- margin
s e .row
et horizontalem padding
ab omnibus immediatis infantum columnis.
Egesne ora ut- crepidine consilio? Omitte, .container
vel .container-fluid
auge .mx-0
, .row
ne superfluum.
Re, hic quam spectat. Nota potes hoc uti cum omnibus aliis classibus praefinitis eget (including columnas latitudines, ordines, reordinationes et plura).
<div class="row g-0 text-center">
<div class="col-sm-6 col-md-8">.col-sm-6 .col-md-8</div>
<div class="col-6 col-md-4">.col-6 .col-md-4</div>
</div>
Mutare tetigisset domatum fistulas
Classes ex tabula Sass aedificata, quae ex $gutters
tabula Sass hereditaria est $spacers
.
$grid-gutter-width: 1.5rem;
$gutters: (
0: 0,
1: $spacer * .25,
2: $spacer * .5,
3: $spacer,
4: $spacer * 1.5,
5: $spacer * 3,
);