Question · HTML and CSS course · Module 3: CSS Basics

The inherit keyword

What does the inherit value assigned to a CSS property do?

Answer options

  • Resets the property to the browser default value
  • Forces the property to take its value from the parent element
  • Removes the property from the element
  • Sets the property to zero

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