Home » HTML » HTML CSS » Question
  1. Which of the following specifies initial length of flex item?
    1. flex-shrink
    2. flex-basis
    3. flex-grow
    4. flex-flow
    5. None of these
Correct Option: B

flex-basis property specifies the initial length of the flex item, flex-shrink property specifies how much a flex item will shrink relative to rest of flex items, the value must be a number and a default value is 1. The flexible-grow property is a relative comparison between the items. It decides how much item will grow relative to the rest of flexible items inside the same container.



Your comments will be displayed only after manual approval.