vertical-align

Vertical alignment property

Determines how items are vertically aligned in a regular block, aka, flow container.

FieldValue
CascadesNo
Initial valuebottom
Applies ToRegular flow items

Values

Accepts any expression or value that resolves to an auto or sub, super, top, middle or bottom keyword.

Examples

span {
  vertical-align: super;
}
span {
  vertical-align: top;
}
span {
  vertical-align: middle;
}
span {
  vertical-align: bottom;
}
span {
  vertical-align: sub;
}