CSS Property: flex
[this page | pdf | back links]
The CSS (CSS3) flex property is a shorthand
property for setting certain flex properties for an element.
Valid property values (other
than inherit and initial) are defined
by the elements of the shorthand. Shorthand elements (in the order in which
they appear):
-
flex-grow
-
flex-shrink
-
flex-basis
|
Default Value:
|
0 1 auto
|
|
JavaScript syntax:
|
e.g. object.style.flex="1"
|
|
Inherited:
|
No
|
|
Animatable:
|
See individual
properties
|
NAVIGATION LINKS
Contents | Prev | Next | CSS Properties