Harsha Vardhan Sannareddy5,456 Points
What is the rem measurements. most of the times I have seen people using either px or %. Is there any specific reason
Is there any specific reason that you are using rem as measurement rather than px or percentage ?
Steven Parker134,458 Points
The "em" and "rem" measurements are based on font sizes, where percentages ("%") are based on the window (or parent object) size. The choice would usually be based on whether you are sizing something for text or images.
A pixel ("px") measurement is for when you don't want the size to be responsive to either screen or font sizes. It will always take up the same space.