Bootstrap “spinners” hmangin i project-a loading state i lantir thei ang. HTML leh CSS chauh hmanga siam an ni a, chu chu siam nan JavaScript i mamawh lo tihna a ni. Mahse, an hmuh theihna toggle tur chuan custom JavaScript engemaw zat i mamawh ang. An hmel, alignment, leh sizing te chu awlsam takin kan utility class mak tak tak hmangin kan siam danglam thei a ni.
Accessibility atan chuan hetah hian loader tin hian role="status"leh a nested <span class="sr-only">Loading...</span>.
Border spinner a ni
Loading indicator rit lo tak hmuh theih nan border spinners hmang ang che.
Loading mek a ni...
A rawng hrang hrang
Border spinner hian a currentColoratan a hmang a , chu chu text color utilitiesborder-color hmangin color chu i duh angin i siam thei tihna a ni . Kan text color utility eng pawh hi standard spinner ah hian i hmang thei ang.
Loading mek a ni...
Loading mek a ni...
Loading mek a ni...
Loading mek a ni...
Loading mek a ni...
Loading mek a ni...
Loading mek a ni...
Loading mek a ni...
Engvangin nge border-colorutilities hi hman loh vang? Border spinner tin hian transparentside pakhat tal tan border an tarlang a, chuvangin .border-{color}utilities te chuan chu chu an override ang.
Spinner lian zel
Border spinner i fancy loh chuan grow spinner ah switch la. Technical lamah a spin loh laiin a lo thang lian fo thin!
Loading mek a ni...
Vawi khat chu he spinner hi , hmanga siam a currentColornih avangin awlsam takin a hmel chu text color utilities hmangin i thlak thei ang . Hetah hian blue in a awm a, supported variants te nen.
Loading mek a ni...
Loading mek a ni...
Loading mek a ni...
Loading mek a ni...
Loading mek a ni...
Loading mek a ni...
Loading mek a ni...
Loading mek a ni...
Alignment tih a ni
Bootstrap-a spinner te hi rems, currentColor, leh display: inline-flex. Hei hian awlsam takin an size tihdanglam theih a ni a, recolor theih a ni a, rang taka align theih a ni tihna a ni.
Sir
Margin utilities ang chi hmang la , .m-5spacing awlsam zawk nan.
Add .spinner-border-smleh .spinner-grow-smcomponent dang chhunga rang taka hman theih tur spinner te zawk siam turin.
Loading mek a ni...
Loading mek a ni...
A nih loh leh, custom CSS emaw inline style hmangin a tul angin dimension te chu thlak danglam theih a ni.
Loading mek a ni...
Loading mek a ni...
Buttons te a awm
Button chhunga spinner hmang la, action pakhat chu tuna process mek emaw, thleng mek emaw a nih thu hriattir rawh. Spinner element atanga text chu i swap chhuak thei bawk a, a tul angin button text i hmang thei bawk.