Question: what is px em rem?
Answer: It stands for “Root em”. It is a relative unit of CSS and translated by the browser to pixels (px). When rem is used on the font-size in the root element, it represents its initial value. If we set the font-size:16px of the root <html> element, then font-size of paragraph will be 1rem. This implies that 1rem=16px.