Back to Freecodecamp

The Box Model Lesson H

curriculum/challenges/english/blocks/top-the-box-model/64a674937a7d00f97013ed0f.md

latest853 B
Original Source

--description--

Because the box model concept is so incredibly fundamental, let’s dig a bit deeper with <a href="https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/The_box_model#what_is_the_css_box_model" target="_blank">this lesson from MDN</a>. It covers the same material as the video above and will introduce you to inline boxes that we will explore in the next lesson. Pay close attention to the examples and take the time to experiment with their in-browser editor!

--questions--

--text--

What does the box-sizing CSS property do?

--answers--

It determines the order of the box-model properties.


It specifies the position of an element on the webpage.


It controls how the total width and height of an element are calculated.


It sets the background color of an element.

--video-solution--

3