CSS Absolute and Relative Units

Several CSS properties like height, width, margin, font-size etc. requires length values. To express these lengths, CSS supports two types of units namely, absolute and relative. Absolute length units are static irrespective of the screen size and hence are used when the output display size is known, like the print layout. Relative length units are … Read more