Complete the code to add padding of 20 pixels to all sides of the box.
div {
padding: [1];
}The padding property adds space inside the element's border. Using 20px adds 20 pixels of padding on all sides.
Complete the code to add padding of 10 pixels on top and bottom, and 15 pixels on left and right.
div {
padding: [1];
}The shorthand padding: 10px 15px; sets 10 pixels for top and bottom, and 15 pixels for left and right.
Fix the error in the code to correctly add 5 pixels padding only to the left side.
div {
padding-[1]: 5px;
}The property padding-left adds padding only to the left side of the element.
Fill both blanks to add 10 pixels padding on top and bottom, and 20 pixels on left and right.
div {
padding: [1] [2];
}The first value 10px sets padding for top and bottom, the second value 20px sets padding for left and right.
Fill all three blanks to add padding: 5px top, 10px right, and 15px bottom.
div {
padding-top: [1];
padding-right: [2];
padding-bottom: [3];
}Set padding-top to 5px, padding-right to 10px, and padding-bottom to 15px for the desired padding on each side.