Why are there no units on the flex-grow value?


#1

Question

Why are there no units on the flex-grow value?

Answer

On a flex item, flex-grow takes values that are positive integers to specify a proportion of space to take up in comparison to the other flex items if extra space is available within the flex container. There are no units because the value is a proportion.