Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1box-sizing: border-box; | AWrong syntax — CSS values use hyphens: border-box not border_box | |
| 2box-sizing: content-box; | B* { box-sizing: border-box; } | |
| 3Apply border-box to every element as a global reset | CMisspelled property — should be box-sizing: border-box; | |
| 4The default box-sizing value used by browsers | DWidth applies to content only — padding and border add to the total | |
| 5box-sizng: border-box; | EWidth includes padding and border — element stays its declared size | |
| 6box-sizing: border_box; | Fcontent-box |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
box-sizing — Controls whether width and height include padding and border. border-box includes them; content-box (the default) measures content only.* {
box-sizing: border-box;
}div {
box-sizing: content-box;
}p {
box-sizing: content-box;
}div {
box-sizing: border-box;
width: 200px;
}div {
box-sizing: border-box;
width: 300px;
}