Kala dheeraynta
Bootstrap waxa ku jira tiro balaadhan oo ah margin ka jawaabida gacan gaaban iyo fasalada utility padding si wax looga beddelo muuqaalka shay.
U qoondee saaxiibtinimo-saaxiibtinimo margin
ama padding
qiyamka shay ama qayb ka mid ah dhinacyadiisa oo leh fasalo gaaban. Waxaa ku jira taageerada guryaha gaarka ah, dhammaan guryaha, iyo kuwa toosan iyo kuwa jiifka ah. Fasallada waxaa laga dhisay khariidadda Sass ee caadiga ah oo u dhaxaysa .25rem
ilaa 3rem
.
Kala dheeraynta yutiilitida ee khuseeya dhammaan meelaha jabinta, laga bilaabo xs
ilaa xl
, kuma jiraan wax soo gaabin ah. Tani waa sababta oo ah fasalladaas waxaa laga dalbadaa min-width: 0
kor iyo kor, sidaas darteed kuma xirna su'aal warbaahineed. Dhibcaha soo haray, si kastaba ha ahaatee, waxaa ku jira soo gaabinta barta jabinta.
{property}{sides}-{size}
Fasallada waxaa lagu magacaabay qaabka xs
iyo {property}{sides}-{breakpoint}-{size}
, sm
, md
, lg
iyo xl
.
Halka hantidu ka mid tahay:
m
- fasallada dhigaymargin
p
- fasallada dhigaypadding
Halka dhinacyadu ay ka mid yihiin:
t
- fasallada dhigaymargin-top
amapadding-top
b
- fasallada dhigaymargin-bottom
amapadding-bottom
l
- fasallada dhigaymargin-left
amapadding-left
r
- fasallada dhigaymargin-right
amapadding-right
x
- fasallada dhigay labada*-left
iyo*-right
y
- fasallada dhigay labada*-top
iyo*-bottom
- maran - fasallada dhigay a
margin
amapadding
dhammaan 4 dhinac ee curiyaha
Halka cabbirku yahay mid ka mid ah:
0
- fasallada meesha ka saarayamargin
amapadding
dejinaya0
1
- (sida caadiga ah) ee fasallada dejiyamargin
amapadding
ku dhejiya$spacer * .25
2
- (sida caadiga ah) ee fasallada dejiyamargin
amapadding
ku dhejiya$spacer * .5
3
- (sida caadiga ah) ee fasallada dejiyamargin
amapadding
ku dhejiya$spacer
4
- (sida caadiga ah) ee fasallada dejiyamargin
amapadding
ku dhejiya$spacer * 1.5
5
- (sida caadiga ah) ee fasallada dejiyamargin
amapadding
ku dhejiya$spacer * 3
auto
- fasallada u dejinayamargin
auto
(Waxaad ku dari kartaa cabbirro badan adiga oo ku daraya gelinta $spacers
doorsoomiyaha khariidada Sass.)
Waa kuwan qaar ka mid ah tusaalayaal matala fasalladan:
Intaa waxa dheer, Bootstrap waxa kale oo ka mid ah .mx-auto
fasal si toos ah u dhexeya nuxurka heerka balac ballaca go'an - taas oo ah, waxa ka kooban display: block
iyo width
go'an-adiga oo dejinaya soohdimaha toosan auto
.