CSS | Percentage Value
It represents by <percentage > takes a number as a parameter. It is used to define the relative size to the parent size. With the help of this, you can adjust all the HTML-CSS elements. In CSS, many properties that take a percentage as parameters such as padding, width, height, margin, and font-size.
It takes a number as parameter followed by percentage sign(%).
The number can be positive and negative but some properties do not accept negative percentages.
Note: No space between number and percentage sign(%) is acceptable.