Col SM 4 yog dab tsi?
Col SM 4 yog dab tsi?

Video: Col SM 4 yog dab tsi?

Video: Col SM 4 yog dab tsi?
Video: YOG VIM DAB TSI - LENG YANG - ENG SUB 2024, Kaum ib hlis
Anonim

Bootstrap muab 12 kab rau ib kab uas yog tsim muaj nyob rau hauv chav kawm kab. col -*, qhov twg * txhais tau tias qhov dav ntawm kab hauv cov lej. col -md- 4 : Cov chav kawm no siv thaum lub cuab yeej loj yog nruab nrab lossis siab dua 768px thiab qhov siab tshaj plaws ntawm lub thawv yog 720px thiab koj xav tau qhov dav sib npaug. 4 kab.

Piv txwv li, Col SM 4 txhais li cas?

Hauv luv luv, lawv tau siv los txheeb xyuas qhov screen loj uas cov chav kawm yuav tsum siv: xs = ntxiv cov ntxaij vab tshaus me me (cov xov tooj ntawm tes) ib sm = cov ntxaij vab tshaus me me (cov ntsiav tshuaj) md = nruab nrab cov ntxaij vab tshaus (somedesktops) lg = cov ntxaij vab tshaus loj (tseem muaj desktops)

Qhov thib ob, qhov txawv ntawm Col MD thiab Col SM yog dab tsi? Yog koj xaiv col - ua sm , ces cov kab yuav ua kab rov tav thaum qhov dav yog > = 768px. Yog koj xaiv col - md ua , ces cov kab yuav ua kab rov tav thaum qhov dav yog > = 992px. Yog koj xaiv col - lg , ces cov kab yuav ua kab rov tav thaum qhov dav yog > = 1200px.

Ib tug kuj nug, Col SM 4 yog dab tsi hauv bootstrap?

Responsive Classes The Bootstrap 4 daim phiaj system muaj tsib chav kawm:. col - (cov khoom siv me me ntxiv - npo dav tsawg dua 576px). col - ua sm - (cov khoom siv me me - qhov dav dav sib npaug rau orgreater dua 576px). col -md- (cov khoom siv nruab nrab - npo dav sib npaug los yog siab dua 768px)

Dab tsi yog SM thiab MD hauv bootstrap?

Cov Bootstrap grid system muaj plaub chav kawm: xs (xov tooj), ua sm (cov ntsiav tshuaj), md ua (desktops), thiab lg (largerdesktops). Cov chav kawm tuaj yeem muab sib xyaw ua ke los tsim cov dynamic thiab hloov tau yooj yim. Tswv yim: Txhua chav kawm nce, yog li yog tias koj xav teeb tsa tib qhov dav rau xs thiab ib sm , koj tsuas yog yuav tsum tau specificxs.

Pom zoo: