Bamesa
Mikanda mpe bandakisa mpo na opt-in styling ya ba tableaux (na kotalaka bosaleli na yango mingi na ba plugins ya JavaScript) na Bootstrap.
Na ntina ya bosaleli mingi ya ba tableaux na kati ya ba widgets ya bato mosusu lokola ba calendriers mpe ba pickers ya mikolo, tosali ba tableaux na biso mpo ezala opt-in . Bakisa kaka classe ya base .table
na nionso <table>
, sima extend na ba styles personnalisés to ba classes na biso ya modificateur ndenge na ndenge oyo ekotisami.
Kosalela marquage ya tableau ya moboko mingi, tala ndenge .table
ba tableaux -based emonanaka na Bootstrap. Ba styles nionso ya tableau e hériter na Bootstrap 4 , elingi koloba ba tableaux nionso oyo ekangami ekozala style na ndenge moko na moboti.
# . | Ya liboso | Nsuka | Kosalela |
---|---|---|---|
1. 1. | Marko | Otto | @mdo |
2. 2 | Yakobo | Thornton oyo azali | @mafuta |
3 | Larry, moto oyo azali | Ndɛkɛ yango | @twitter na twitter |
Okoki mpe kobongola balangi yango —na makomi ya pɛtɛɛ na ba fond ya moindo —na .table-dark
.
# . | Ya liboso | Nsuka | Kosalela |
---|---|---|---|
1. 1. | Marko | Otto | @mdo |
2. 2 | Yakobo | Thornton oyo azali | @mafuta |
3 | Larry, moto oyo azali | Ndɛkɛ yango | @twitter na twitter |
Ndenge moko na ba tableaux na ba tableaux ya molili, salela ba classes ya modificateur .thead-light
to .thead-dark
pona kosala <thead>
s emonana gris clair to foncé.
# . | Ya liboso | Nsuka | Kosalela |
---|---|---|---|
1. 1. | Marko | Otto | @mdo |
2. 2 | Yakobo | Thornton oyo azali | @mafuta |
3 | Larry, moto oyo azali | Ndɛkɛ yango | @twitter na twitter |
# . | Ya liboso | Nsuka | Kosalela |
---|---|---|---|
1. 1. | Marko | Otto | @mdo |
2. 2 | Yakobo | Thornton oyo azali | @mafuta |
3 | Larry, moto oyo azali | Ndɛkɛ yango | @twitter na twitter |
Salelá .table-striped
mpo na kobakisa zebra-striping na molɔngɔ́ nyonso ya mesa na kati ya <tbody>
.
# . | Ya liboso | Nsuka | Kosalela |
---|---|---|---|
1. 1. | Marko | Otto | @mdo |
2. 2 | Yakobo | Thornton oyo azali | @mafuta |
3 | Larry, moto oyo azali | Ndɛkɛ yango | @twitter na twitter |
# . | Ya liboso | Nsuka | Kosalela |
---|---|---|---|
1. 1. | Marko | Otto | @mdo |
2. 2 | Yakobo | Thornton oyo azali | @mafuta |
3 | Larry, moto oyo azali | Ndɛkɛ yango | @twitter na twitter |
Bakisa .table-bordered
mpo na bandelo na ngambo nyonso ya mesa mpe baselile.
# . | Ya liboso | Nsuka | Kosalela |
---|---|---|---|
1. 1. | Marko | Otto | @mdo |
2. 2 | Yakobo | Thornton oyo azali | @mafuta |
3 | Larry ndeke | @twitter na twitter |
# . | Ya liboso | Nsuka | Kosalela |
---|---|---|---|
1. 1. | Marko | Otto | @mdo |
2. 2 | Yakobo | Thornton oyo azali | @mafuta |
3 | Larry ndeke | @twitter na twitter |
Bakisa .table-borderless
mpo na mesa oyo ezangi bandelo.
# . | Ya liboso | Nsuka | Kosalela |
---|---|---|---|
1. 1. | Marko | Otto | @mdo |
2. 2 | Yakobo | Thornton oyo azali | @mafuta |
3 | Larry ndeke | @twitter na twitter |
.table-borderless
ekoki mpe kosalelama na bamesa ya moindo.
# . | Ya liboso | Nsuka | Kosalela |
---|---|---|---|
1. 1. | Marko | Otto | @mdo |
2. 2 | Yakobo | Thornton oyo azali | @mafuta |
3 | Larry ndeke | @twitter na twitter |
Bakisa .table-hover
mpo na kofungola état ya hover na ba lignes ya tableau na kati ya <tbody>
.
# . | Ya liboso | Nsuka | Kosalela |
---|---|---|---|
1. 1. | Marko | Otto | @mdo |
2. 2 | Yakobo | Thornton oyo azali | @mafuta |
3 | Larry ndeke | @twitter na twitter |
# . | Ya liboso | Nsuka | Kosalela |
---|---|---|---|
1. 1. | Marko | Otto | @mdo |
2. 2 | Yakobo | Thornton oyo azali | @mafuta |
3 | Larry ndeke | @twitter na twitter |
Bakisa .table-sm
mpo na kosala ete bamesa ezala compact mingi na kokataka remplissage ya ba cellules na katikati.
# . | Ya liboso | Nsuka | Kosalela |
---|---|---|---|
1. 1. | Marko | Otto | @mdo |
2. 2 | Yakobo | Thornton oyo azali | @mafuta |
3 | Larry ndeke | @twitter na twitter |
# . | Ya liboso | Nsuka | Kosalela |
---|---|---|---|
1. 1. | Marko | Otto | @mdo |
2. 2 | Yakobo | Thornton oyo azali | @mafuta |
3 | Larry ndeke | @twitter na twitter |
Salelá bakelasi ya contexte mpo na kopesa langi na milɔngɔ ya tableau to na baselile mokomoko.
Kelasi | Motó ya likambo | Motó ya likambo |
---|---|---|
Esalaka | Selile | Selile |
Mbeba | Selile | Selile |
Ya liboso | Selile | Selile |
Ebongiseli ya mibale | Selile | Selile |
Kolonga | Selile | Selile |
Likama | Selile | Selile |
Likebisi | Selile | Selile |
Info | Selile | Selile |
Pole | Selile | Selile |
Molili | Selile | Selile |
Ba variantes ya fond ya tableau ya mbala na mbala ezali te na tableau ya molili, nzokande, okoki kosalela ba utilitaires ya texte to ya fond pona kozua ba styles ya ndenge moko.
# . | Motó ya likambo | Motó ya likambo |
---|---|---|
1. 1. | Selile | Selile |
2. 2 | Selile | Selile |
3 | Selile | Selile |
4. | Selile | Selile |
5 | Selile | Selile |
6 | Selile | Selile |
7 | Selile | Selile |
8 | Selile | Selile |
9 | Selile | Selile |
Kopesa ndimbola na ba technologies ya kosunga
Kosalela langi mpo na kobakisa ndimbola epesaka kaka elembo ya komona, oyo ekopesama te na basaleli ya mayele ya kosunga – lokola batángi ya écran. Sala ete sango oyo elakisami na langi ezala polele uta na makambo yango moko (ndakisa makomi oyo ezali komonana), to ekotisama na nzela ya mayele mosusu, lokola makomi ya kobakisa oyo ebombami elongo na .sr-only
kelasi.
Bosala ba tableaux oyo ezo répondre na enveloppant nionso .table
na .table-responsive{-sm|-md|-lg|-xl}
, kosala que table e défiler horizontalement na max-width
point de rupture moko na moko ya jusqu'à (kasi inclus te) 576px, 768px, 992px, na 1120px, respectivement.
Yeba ete lokola ba navigateurs esimbaka te na tango oyo ba requêtes ya contexte ya range , tosalaka zinga zinga ya ba limitations ya min-
mpe ba max-
préfixes mpe ba viewports na ba largeurs fractionnelles (oyo ekoki kosalema na ba conditions mosusu na ba appareils ya dpi ya likolo, na ndakisa) na kosalelaka ba valeurs na précision ya likolo pona ba comparaisons oyo .
A <caption>
esalaka lokola motó ya likambo mpo na mesa. Esalisaka basaleli oyo bazali na batángi ya écran báluka mesa mpe báyeba makambo oyo ezali kolobela mpe bázwa ekateli soki balingi kotánga yango.
# . | Ya liboso | Nsuka | Kosalela |
---|---|---|---|
1. 1. | Marko | Otto | @mdo |
2. 2 | Yakobo | Thornton oyo azali | @mafuta |
3 | Larry, moto oyo azali | Ndɛkɛ yango | @twitter na twitter |
Ba tableaux oyo ezo répondre epesaka nzela ya ko défiler ba tableaux horizontalement na pete. Salá ete mesa nyonso ezala na eyano na kati ya bisika nyonso ya kotala na kozingaka .table
na .table-responsive
. To, pona point de rupture maximum oyo okozala na tableau responsive jusqu'à na kosalelaka .table-responsive{-sm|-md|-lg|-xl}
.
Kokata/kokata na vertical
Ba tableaux oyo ezo répondre esalaka usage ya overflow-y: hidden
, oyo ezo cliper contenus nionso oyo eleki ba bords ya se to ya likolo ya table. Mingimingi, yango ekoki kokata ba menu oyo ezali kokita mpe ba widgets mosusu ya bato mosusu.
Na kati ya esika nyonso ya kobuka, salelá .table-responsive
mpo na kosala défilement ya ba tableaux na ndenge ya horizontal.
# . | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo |
---|---|---|---|---|---|---|---|---|---|
1. 1. | Selile | Selile | Selile | Selile | Selile | Selile | Selile | Selile | Selile |
2. 2 | Selile | Selile | Selile | Selile | Selile | Selile | Selile | Selile | Selile |
3 | Selile | Selile | Selile | Selile | Selile | Selile | Selile | Selile | Selile |
Salelá .table-responsive{-sm|-md|-lg|-xl}
ndenge esengeli mpo na kosala ba tableaux oyo ezo répondre tii na point de rupture moko boye. Kobanda na point de rupture wana mpe likolo, tableau eko se comporter normalement mpe eko défiler horizontalement te.
Ba tableaux oyo ekoki komonana ebukani tii tango ba styles na yango ya réponse ekosalema na ba largeurs spécifiques ya port de vue.
# . | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo |
---|---|---|---|---|---|---|---|---|
1. 1. | Selile | Selile | Selile | Selile | Selile | Selile | Selile | Selile |
2. 2 | Selile | Selile | Selile | Selile | Selile | Selile | Selile | Selile |
3 | Selile | Selile | Selile | Selile | Selile | Selile | Selile | Selile |
# . | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo |
---|---|---|---|---|---|---|---|---|
1. 1. | Selile | Selile | Selile | Selile | Selile | Selile | Selile | Selile |
2. 2 | Selile | Selile | Selile | Selile | Selile | Selile | Selile | Selile |
3 | Selile | Selile | Selile | Selile | Selile | Selile | Selile | Selile |
# . | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo |
---|---|---|---|---|---|---|---|---|
1. 1. | Selile | Selile | Selile | Selile | Selile | Selile | Selile | Selile |
2. 2 | Selile | Selile | Selile | Selile | Selile | Selile | Selile | Selile |
3 | Selile | Selile | Selile | Selile | Selile | Selile | Selile | Selile |
# . | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo | Motó ya likambo |
---|---|---|---|---|---|---|---|---|
1. 1. | Selile | Selile | Selile | Selile | Selile | Selile | Selile | Selile |
2. 2 | Selile | Selile | Selile | Selile | Selile | Selile | Selile | Selile |
3 | Selile | Selile | Selile | Selile | Selile | Selile | Selile | Selile |