Question · HTML and CSS course · Module 11: Developer Tools

CSS Reset

What does the rule *, *::before, *::after { box-sizing: border-box; } do in a CSS Reset?

Answer options

  • Removes all margins and padding
  • Makes padding and border count towards the element's width
  • Sets display: block on all elements
  • Resets colors to black and white

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