css units px em rem

CSS Units Quick Guide: PX vs EM vs REM

CSS is offering us many possibilities when it comes to CSS units. The default is pixel (px), but there are newer solutions such as em and rem.