CSS Box-Align Property

CSS 1

CSS 2

CSS 3

No No Yes

Description

Specifies how a XUL box aligns its contents across (perpendicular to) the direction of its layout. The effect of this is only visible if there is extra space in the box. 

Syntax

box-align: [value];

Possible values

  • start
  • end
  • center
  • baseline
  • stretch

Initial Value

stretch

Applies To

Box elements

Inherited

No

Media

Visual

Example

.class {
  box-align: baseline;
}


View All CSS Properties