Solution Review: CSS Display Challenge
The solution to the challenge on the CSS display property is discussed in this lesson.
We'll cover the following...
Solution review
Let’s have a look at the solution first.
Explanation
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
All the elements must have a border-box
around them so that the padding
and border
are included in an element’s total width
and height
. The ...