The vertical-align shorthand controls vertical alignment of inline-level boxes within a line — combines baseline-source (first/last), alignment-baseline (baseline type), and baseline-shift (position adjustment)..sup {
vertical-align: super;
}img {
vertical-align: -0.2em;
}min:-9999max:9999step:1units:px | % | em | rembaselineThe default value. Aligns to parent's baseline.firstBaseline source: use the box's first baseline.lastBaseline source: use the box's last baseline.subbaseline-shift: subscript position.superbaseline-shift: superscript position.topAligns to the top edge of the line box.middleCenters around baseline + half x-height.bottomAligns to the bottom edge of the line box.text-topalignment-baseline: aligns to font top.text-bottomalignment-baseline: aligns to font bottom.alphabeticalignment-baseline: alphabetic baseline.hangingalignment-baseline: hanging baseline (Indic).ideographicalignment-baseline: ideographic baseline (CJK).mathematicalalignment-baseline: mathematical baseline.centralalignment-baseline: central baseline.CSS Inline Layout Module Level 3Editor's DraftW3CMDN