עברית
accent-coloralignalignment-baselineallanchoranimationappearanceaspect-ratiobackdrop-filterbackface-visibilitybackgroundbaselineblock-sizeborderbottomboxbreakcaption-sidecaretclearclipcolorcolumncolumnscontaincontainercontentcornercountercursorcxcyddirectiondisplaydominant-baselinedynamic-range-limitempty-cellsfield-sizingfillfilterflexflex-basisflex-directionflex-flowflex-growflex-shrinkflex-wrapfloatfloodfontforced-color-adjustgapgridheighthyphenatehyphensimageime-modeinitial-letterinline-sizeinsetinteractivityinterestinterpolate-sizeisolationjustifyleftletter-spacinglighting-colorlinelistmarginmarkermaskmathmaxminmix-blend-modeobjectoffsetopacityorderorphansoutlineoverflowoverlayoverscrollpaddingpagepaint-orderperspectiveplacepointer-eventspositionprint-color-adjustquotesrreadingresizerightrotaterowrubyrulerxryscalescrollscrollbarshapespeakstopstroketab-sizetable-layouttexttimelinetoptouch-actiontransformtransitiontranslatetrigger-scopeunicode-bidiuser-selectvector-effectvertical-alignviewvisibilitywhitewidowswidthwill-changewordwriting-modexyz-indexzoom
flex-basis CSS Property
The flex-basis property defines the initial main-axis size before space distribution by flex-grow/shrink. Percentages relative to the container's main-axis size.
.item {
flex-basis: 200px;
}
.item {
flex-basis: content;
}
min:0
max:9999
step:1
units:px | % | em | rem
autoThe default value. Uses the item's width/height.contentSizes based on item's content (auto by content).min-contentMinimum size for content.max-contentMaximum size for content.fit-contentFits content up to a limit.
CSS Flexible Box Layout Module Level 1
Editor's Draft
<length-percentage>
W3CMDN
CSS
CSS
CSS
CSS
CSS
Show all code
Edit CSS online
The plugin that remembers hundreds of CSS items for you
Every CSS property — in a live demonstration
The bilingual CSS reference
previousnext