Question · HTML and CSS course · Module 5: Responsiveness

Fluid layout technique in CSS

Which CSS technique allows an element to automatically match the width of its parent container?

Answer options

  • width: fluid
  • width: auto-fill
  • width: responsive
  • width: 100%

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