A Pixel is and absolute unit

Rem is relative to the font-size of the root element

Em is relative to the font size of the element

Vw is relative to 1% of the width of the viewport

Vh is relative to 1% of the height of the viewport