The CSS unit is used to measure width,height ,etc.

This unit value will be either relative or absolute.

Absolute unit is a fixed value such as pixel,point,inches.

Relative unit such as %,em etch is relative to the parent element.

Responsive font size works on the basis of viewport width and viewport height.
In this example,all the concept is discussed.