You are here : cssCSS 3flex-basis

flex-basis - CSS 3

The flex-basis property specifies the initial length of a flexible item.Note: If the element is not a flexible item, the flex-basis property has no effect.


Syntax

flex-basis: number|auto|initial|inherit;


Example

div:nth-of-type(2) {    -webkit-flex-basis: 80px; /* 
	Safari 6.1+ */    flex-basis: 80px;}


Output / Return Value


Limitations


Alternatives / See Also


Reference