Percentages can be used to define values more fluidly, because percentages by nature are always relative to something else. When percentage units are used as values in CSS, the percentage value is measured relative to a parent element’s length. This means that it will adjust based on the parent element’s length.

Many properties like width, margin, and padding use percentages and they are commonly used for layout since they allow fluid sizing of elements relative to their container.