The CSS data type represents a distance value. Lengths can be used in numerous CSS properties, such as width, height, margin, padding, border-width, Font-size, and text-shadow....margin , padding , border-width , font-size , and text-shadow . Note:...relative length units are based on font, container, or viewport sizes...