Tilmaan xaaladda rarka ee qayb ama bogga leh xayndaabyada Bootstrap, oo lagu dhisay gebi ahaan HTML, CSS, oo aan lahayn JavaScript.
Ku saabsan
Bootstrap "spinners" waxaa loo isticmaali karaa in lagu muujiyo xaalada rarka ee mashaariicdaada. Waxay ku dhismeen oo keliya HTML iyo CSS, taasoo la micno ah inaadan u baahnayn JavaScript si aad u abuurto. Waxaad, si kastaba ha ahaatee, u baahan doontaa qaar ka mid ah JavaScript caadadii si aad u beddesho muuqaalkooda. Muuqaalkooda, toosintooda, iyo cabbirkooda si fudud ayaa loogu habeyn karaa fasaladayada tamarta ee cajiibka ah.
U isticmaal wareegyada xudduudaha si aad u hesho tilmaame rarista fudud.
Soodejinaya...
Midabada
Wareegtada soohdinta ayaa currentColoru adeegsata border-color, taasoo la macno ah inaad ku beddeli karto midabka agabka midabka qoraalka ah . Waxaad isticmaali kartaa mid kasta oo ka mid ah agabkayaga midabka qoraalka ah ee spinner-ka caadiga ah.
Soodejinaya...
Soodejinaya...
Soodejinaya...
Soodejinaya...
Soodejinaya...
Soodejinaya...
Soodejinaya...
Soodejinaya...
Waa maxay sababta aan loo isticmaalin border-coloradeegyada? Wareeg kasta oo soohdintu waxa uu qeexayaa transparentxuduud ugu yaraan hal dhinac, si tas-hiilaadyadu .border-{color}ay meesha uga saaraan.
Spinner koraya
Haddi aanad jeclayn wareegtada soohdinta, u beddel spinner-ka koraan. Inkastoo aysan farsamo ahaan miiqin, haddana si isdaba joog ah ayay u koraan!
Soodejinaya...
Mar labaad, spinner-kan waxaa lagu dhisay currentColor, si aad si fudud ugu beddeli karto muuqaalkiisa isticmaalka midabka qoraalka . Halkan waa buluug, oo ay la socdaan noocyada la taageeray.
Soodejinaya...
Soodejinaya...
Soodejinaya...
Soodejinaya...
Soodejinaya...
Soodejinaya...
Soodejinaya...
Soodejinaya...
Toosin
Spinners in Bootstrap waxaa lagu dhisay rems, currentColor, iyo display: inline-flex. Tani waxay ka dhigan tahay in si fudud loo cabbiri karo, loo midabayn karo, oo si degdeg ah loo toosin karo.
Ku dar .spinner-border-smoo .spinner-grow-smsi aad u samayso spinner yar oo si degdeg ah loo isticmaali karo gudaha qaybaha kale.
Soodejinaya...
Soodejinaya...
Ama, isticmaal CSS-ga caadiga ah ama qaababka khadka tooska ah si aad u beddesho cabbirrada hadba loo baahdo.
Soodejinaya...
Soodejinaya...
Badhamada
Isticmaal badhannada gudaha badhamada si aad u muujiso in ficil hadda la habeeyey ama dhacayo. Waxa kale oo aad ka beddeli kartaa qoraalka unugga lafdhabarta oo aad isticmaasho qoraalka badhanka haddii loo baahdo.