Akwụkwọ na ihe atụ maka iji ogwe ọganihu omenala Bootstrap nke na-egosipụta nkwado maka ogwe ndị ekpokọtara, nzụlite eserese, na akara ederede.
Ka o si arụ ọrụ
A na-eji ihe HTML abụọ wuo ihe na-aga n'ihu, ụfọdụ CSS iji tọọ obosara, yana àgwà ole na ole. We don't use the HTML5 <progress>element , n'ịhụ na ị nwere ike tojupụtara ọganihu mmanya, animate ha, na-etinye ederede akara n'elu ha.
Anyị na-eji ya .progressdị ka ihe mkpuchi iji gosi uru bara uru nke ogwe ọganihu.
Anyị na-eji n'ime .progress-bargosi ọganihu dị ugbu a.
Nke .progress-bara chọrọ ụdị inline, klaasị ịba uru, ma ọ bụ omenala CSS iji tọọ obosara ha.
Nke .progress-barahụ na-achọkwa ụfọdụ rolena arianjirimara iji mee ka ọ nweta ya.
Tinye ihe niile ọnụ, ma ị nwere ihe atụ ndị a.
Bootstrap na-enye ngwa ọrụ ole na ole maka ịtọ obosara . Dabere na mkpa gị, ndị a nwere ike inye aka na ịhazi ọganihu ngwa ngwa.
Akara aha
Tinye akara na ogwe ọganihu gị site na itinye ederede n'ime faịlụ .progress-bar.
25%
Ogologo
Naanị ihe anyị na-edobere heighturu na .progress, yabụ ọ bụrụ na ị gbanwee uru ahụ, nke dị n'ime .progress-barga-emegharị ya ozugbo.
Ndabere
Jiri klaasị ịba uru n'okirikiri iji gbanwee ọdịdị nke ogwe ọganihu n'otu n'otu.
Otutu mmanya
Tinye ọtụtụ ogwe ọganihu n'ime akụrụngwa ọganihu ma ọ bụrụ na ịchọrọ.
Ekewapụ
Tinye .progress-bar-stripedna nke ọ bụla .progress-bariji tinye eriri site na CSS gradient n'elu agba ndabere mmanya ọganihu.
Uriri eserese
Enwere ike ịmegharị gradient nke eriri. Tinye .progress-bar-animatedn'ime .progress-barka emee ọnyá ndị dị n'aka nri gaa n'aka ekpe site na animation CSS3.