CSS Quiz2 1. Which property is used to set the padding of an element in CSS? margin padding border width 2. Which value of the padding property is used to set the padding for the left and right sides of an element? vertical horizontal all none 3. Which value of the background-attachment property is used to make the background image scroll with the page? scroll fixed local inherit 4. Which selector is used to select elements with a specific ID in CSS? # : . * 5. Which CSS property is used to change the background color of an element? background-image background-color background-repeat background-position 6. Which property is used to specify the padding around each cell within a table in CSS? cell-spacing cell-padding padding margin 7. Which value of the padding property is used to set the padding for the top and bottom sides of an element? vertical horizontal all none 8. Which CSS property is used to change the font size of text? font-weight font-family font-style font-size 9. Which property is used to set the position of the background image in CSS? background-position background-size background-repeat background-origin 10. Which value of the padding property is used to set the padding for all four sides of an element? auto inherit initial value Loading … Question 1 of 10