Gajendar Singh explains and demonstrates the different length units available in CSS, including absolute, relative, and viewport-relative units.
Turns out there are many length units. Although not all recommended for development. Also discover the mystery behind em
and getting to know with rem
.
Source: A Look at Length Units in CSS