Question · HTML and CSS course · Module 4: Flexbox

Flex Shorthand

The shorthand property flex: 1 0 200px corresponds to which set of values?

Answer options

  • flex-grow: 1, flex-shrink: 0, flex-basis: 200px
  • flex-grow: 0, flex-shrink: 1, flex-basis: 200px
  • flex-grow: 200, flex-shrink: 0, flex-basis: 1px
  • flex-grow: 1, flex-shrink: 200, flex-basis: 0px

You can check the correct answer by solving this task in the CodeWorlds game.