<?xml version="1.0" encoding="utf-8"?>

CSS vertical-align property with the bottom value

CSS vertical-align property with the bottom value Bad Practice
CSS vertical-align property with the bottom value Best Practice

The vertical-align: bottom; CSS declaration applies the bottom alignment. This type of alignment evens up the element's bottom with the bottom of the entire line. Bottom-aligned elements stick to the bottom of their container along the invisible x-axis, even when its height increases.

Improve your UX & Product skills with interactive courses that actually work