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

The min() and max() Functions

What does the function min(800px, 100%) return?

Answer options

  • Always exactly 800px
  • Always exactly 100%
  • The smaller of the values - it works like max-width: 800px
  • The larger of the values - it works like min-width: 800px

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