Why does the attribute flex-basis exist?

since the item width in the flex layout can be set using width , why is there a flex-basis attribute?

Apr.03,2021

there is a more detailed introduction of this article the difference between Flex Basis and Width

Menu