HTML and CSS Reference
In-Depth Information
Name
box-pack
Values:
start
|
end
|
center
|
justify
Initial value:
start
Applies to:
Elements with a
display
value of
box
or
inline-box
Inherited:
No
Computed value:
As declared
Description:
Defines how flexible boxes are laid out when the sum of their dimensions along the axis of
Examples:
#gallery {box-pack: center;}
.subcolumns {box-pack: left;}
Note:
This property is from the 2009 version of the Flexible Box specification. It is expected to be
deprecated by a new version of the specification, and potentially retired from browsers some
time after.