Flex
Celeriter extensionem, alignment, et inspectionem columnarum egetrum, navigationis, partium, ac magis cum plena serie flexboxs utilitatum responsurum administra. Ad exsecutiones magis implicatas, consuetudo CSS necessaria sit.
Adhibe display
utilitates ad flexbox continentis creare et elementa directa puerorum in items flexos transformare. Vasa flex et items mutari adhuc possunt cum proprietatibus flex additis.
Variationes Responsivae etiam pro .d-flex
et .d-inline-flex
.
.d-flex
.d-inline-flex
.d-sm-flex
.d-sm-inline-flex
.d-md-flex
.d-md-inline-flex
.d-lg-flex
.d-lg-inline-flex
.d-xl-flex
.d-xl-inline-flex
Pone directionem flex item in vase flexo cum directione utilitatis. Pleraque in casu classis horizontalis hic omitti potes sicut default navigatri est row
. Attamen condiciones incidere licet in quibus expresse opus est ut hunc valorem ponas (sicut rationes responsivas).
Ponere .flex-row
directionem horizontalem (defaltam navigatoris), vel .flex-row-reverse
ad directionem horizontalem ab altera parte incipere.
Ponere .flex-column
directionem ad perpendiculum, vel .flex-column-reverse
ex adverso incipere directionem verticalem.
Variationes Responsivae etiam pro flex-direction
.
.flex-row
.flex-row-reverse
.flex-column
.flex-column-reverse
.flex-sm-row
.flex-sm-row-reverse
.flex-sm-column
.flex-sm-column-reverse
.flex-md-row
.flex-md-row-reverse
.flex-md-column
.flex-md-column-reverse
.flex-lg-row
.flex-lg-row-reverse
.flex-lg-column
.flex-lg-column-reverse
.flex-xl-row
.flex-xl-row-reverse
.flex-xl-column
.flex-xl-column-reverse
Utilitates in flexbox justify-content
vasis utere ad mutare noctis flexorum supellex in axe principali (axis x-incipiendi, y-axis si flex-direction: column
). Elige start
(browser default), end
, center
, between
, vel around
.
Variationes Responsivae etiam pro justify-content
.
.justify-content-start
.justify-content-end
.justify-content-center
.justify-content-between
.justify-content-around
.justify-content-sm-start
.justify-content-sm-end
.justify-content-sm-center
.justify-content-sm-between
.justify-content-sm-around
.justify-content-md-start
.justify-content-md-end
.justify-content-md-center
.justify-content-md-between
.justify-content-md-around
.justify-content-lg-start
.justify-content-lg-end
.justify-content-lg-center
.justify-content-lg-between
.justify-content-lg-around
.justify-content-xl-start
.justify-content-xl-end
.justify-content-xl-center
.justify-content-xl-between
.justify-content-xl-around
Utilitates in flexbox align-items
vasis utere ad mutare noctis flexorum objectorum in axe crucis (axis y-incipiendi, x-axis si flex-direction: column
). Elige start
, end
, center
, baseline
vel stretch
(defaltam pasco).
Variationes Responsivae etiam pro align-items
.
.align-items-start
.align-items-end
.align-items-center
.align-items-baseline
.align-items-stretch
.align-items-sm-start
.align-items-sm-end
.align-items-sm-center
.align-items-sm-baseline
.align-items-sm-stretch
.align-items-md-start
.align-items-md-end
.align-items-md-center
.align-items-md-baseline
.align-items-md-stretch
.align-items-lg-start
.align-items-lg-end
.align-items-lg-center
.align-items-lg-baseline
.align-items-lg-stretch
.align-items-xl-start
.align-items-xl-end
.align-items-xl-center
.align-items-xl-baseline
.align-items-xl-stretch
Utilitas align-self
in flexbox items utere ad singulatim mutant alignment in axe crucis (axis y-incipiendi, x-axis si flex-direction: column
). Ex eisdem optionibus elige ac align-items
: start
, end
, center
, baseline
vel stretch
(defaltam pascendi).
Variationes Responsivae etiam pro align-self
.
.align-self-start
.align-self-end
.align-self-center
.align-self-baseline
.align-self-stretch
.align-self-sm-start
.align-self-sm-end
.align-self-sm-center
.align-self-sm-baseline
.align-self-sm-stretch
.align-self-md-start
.align-self-md-end
.align-self-md-center
.align-self-md-baseline
.align-self-md-stretch
.align-self-lg-start
.align-self-lg-end
.align-self-lg-center
.align-self-lg-baseline
.align-self-lg-stretch
.align-self-xl-start
.align-self-xl-end
.align-self-xl-center
.align-self-xl-baseline
.align-self-xl-stretch
Classes in serie elementorum utere .flex-fill
ut ea in latitudines aequales cogant dum omnia in promptu spatio horizontali capientes. Praesertim utilia ad aequalem latitudinem, vel ad iustificationem navigationem.
Variationes Responsivae etiam pro flex-fill
.
.flex-fill
.flex-sm-fill
.flex-md-fill
.flex-lg-fill
.flex-xl-fill
Utilitas utere .flex-grow-*
ad toggle flex item facultatem crescere ad replendum spatium available. In exemplo infra, .flex-grow-1
elementa omnia spatia quae praesto sunt utitur, licet reliquae duae flectunt item spatium necessarium.
Utilitas utere .flex-shrink-*
ut toggle flex item facultatem reformidet si necesse est. In exemplo infra, item flex secundus cum .flex-shrink-1
contenta nova linea involvere cogitur, "refugiens" plus spatii ad priorem flex item cum .w-100
.
Variationes Responsivae etiam pro flex-grow
et flex-shrink
.
.flex-{grow|shrink}-0
.flex-{grow|shrink}-1
.flex-sm-{grow|shrink}-0
.flex-sm-{grow|shrink}-1
.flex-md-{grow|shrink}-0
.flex-md-{grow|shrink}-1
.flex-lg-{grow|shrink}-0
.flex-lg-{grow|shrink}-1
.flex-xl-{grow|shrink}-0
.flex-xl-{grow|shrink}-1
Flexbox facere potest nonnulla bella terribilis cum noctis flexas cum marginibus auto- misces. Infra monstrata sunt tria exempla continentis flexae res per auto margines: default (no margine auto), impellens duo items ad dextram ( .mr-auto
) et impellens duo items ad sinistram ( .ml-auto
).
Infeliciter, IE10 et IE11 non recte sustinent margines auto- res flexas, quarum parens justify-content
valorem non-default habet. Vide hoc StackOverflow pro pluribus respondere.
Item ad verticem vel fundum continentis unum flexum verticaliter movendum permixtione align-items
, flex-direction: column
et margin-top: auto
vel margin-bottom: auto
.
Muta quomodo res flexae involvunt in vase flexo. Elige ex nullo prorsus involuto (default navigatri) cum .flex-nowrap
, involuti .flex-wrap
, vel e diverso involuti .flex-wrap-reverse
.
Variationes Responsivae etiam pro flex-wrap
.
.flex-nowrap
.flex-wrap
.flex-wrap-reverse
.flex-sm-nowrap
.flex-sm-wrap
.flex-sm-wrap-reverse
.flex-md-nowrap
.flex-md-wrap
.flex-md-wrap-reverse
.flex-lg-nowrap
.flex-lg-wrap
.flex-lg-wrap-reverse
.flex-xl-nowrap
.flex-xl-wrap
.flex-xl-wrap-reverse
Mutare visum ordinem speciei flex items cum paucis order
utilitatibus. Optiones tantum praebemus ut item primam vel ultimam efficiamus, tum rete ut ordine domno utamur. Ut order
quemlibet valorem integrum (eg, 5
) addas morem CSS pro quibusvis valoribus additis necessariis.
Variationes Responsivae etiam pro order
.
.order-0
.order-1
.order-2
.order-3
.order-4
.order-5
.order-6
.order-7
.order-8
.order-9
.order-10
.order-11
.order-12
.order-sm-0
.order-sm-1
.order-sm-2
.order-sm-3
.order-sm-4
.order-sm-5
.order-sm-6
.order-sm-7
.order-sm-8
.order-sm-9
.order-sm-10
.order-sm-11
.order-sm-12
.order-md-0
.order-md-1
.order-md-2
.order-md-3
.order-md-4
.order-md-5
.order-md-6
.order-md-7
.order-md-8
.order-md-9
.order-md-10
.order-md-11
.order-md-12
.order-lg-0
.order-lg-1
.order-lg-2
.order-lg-3
.order-lg-4
.order-lg-5
.order-lg-6
.order-lg-7
.order-lg-8
.order-lg-9
.order-lg-10
.order-lg-11
.order-lg-12
.order-xl-0
.order-xl-1
.order-xl-2
.order-xl-3
.order-xl-4
.order-xl-5
.order-xl-6
.order-xl-7
.order-xl-8
.order-xl-9
.order-xl-10
.order-xl-11
.order-xl-12
align-content
Utilitates in flexbox vasis utere ut color flex items simul in axe crucis. Elige start
(browser default), end
, center
, between
, around
vel stretch
. Ad has utilitates demonstrandas, necesse habuimus flex-wrap: wrap
et numerum rerum flexorum auximus.
Capita! Haec proprietas non valet in singulis ordinibus flex item.
Variationes Responsivae etiam pro align-content
.
.align-content-start
.align-content-end
.align-content-center
.align-content-around
.align-content-stretch
.align-content-sm-start
.align-content-sm-end
.align-content-sm-center
.align-content-sm-around
.align-content-sm-stretch
.align-content-md-start
.align-content-md-end
.align-content-md-center
.align-content-md-around
.align-content-md-stretch
.align-content-lg-start
.align-content-lg-end
.align-content-lg-center
.align-content-lg-around
.align-content-lg-stretch
.align-content-xl-start
.align-content-xl-end
.align-content-xl-center
.align-content-xl-around
.align-content-xl-stretch