Skip to content

FLEX布局

cssstyle备注
fldisplay:flex; flex-direction:row;
fvdisplay:flex; flex-direction:column;
flrflex-direction: row-reverse;
fvrflex-direction: column-reverse;
ffsflex-shrink:1;
ffs.0flex-shrink:0;
ffgflex-grow:1;
ffg.0flex-grow:1;
fasaalign-self: auto;
fascalign-self: center;
fassalign-self: flex-start;
fasealign-self: flex-end;
fasbalign-self: baseline;
fasstalign-self: stretch;
faicalign-items: center;
faisalign-items: flex-start;
faiealign-items: flex-end;
faibalign-items: baseline;
faistalign-items: stretch;
faccalign-content: center;
facsalign-content: flex-start;
facealign-content: flex-end;
facbalign-content: baseline;
facstalign-content: stretch;
fjcsjustify-content: flex-start;
fjcejustify-content: flex-end;
fjccjustify-content: center;
fjcbjustify-content: space-between;
fjcajustify-content: space-around;
fjcsejustify-content: space-evenly;
ffwwflex-wrap: wrap;
ffwnflex-wrap: nowrap;
ffwfrflex-wrap: wrap-reverse;
fbsbox-sizing;
fbs.nbox-sizing: none;
fbsbbox-sizing: border-box;
fbsnbox-sizing: none;
fbscbox-sizing: content-box;