Question · HTML and CSS course · Module 9: Modern CSS

The gap Property in Flexbox

What changed in support for the gap property since 2021?

Answer options

  • gap now works in Flexbox too, not only in Grid
  • gap fully replaced the margin property
  • gap works exclusively in Grid
  • gap works only inside the calc() function

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