Button Styling Quiz: CSS Fundamentals Quiz

  1. Background Color

    Which CSS property is used to change the background color of a button?

    1. A. text-color
    2. B. font-color
    3. C. background-color
    4. D. button-color
    5. E. color-background
  2. Font Size

    What CSS property controls the text size inside a button?

    1. A. text-size
    2. B. font-size
    3. C. size
    4. D. text-height
    5. E. font
  3. Rounded Corners

    Which CSS property is used to create rounded corners on a button?

    1. A. border
    2. B. corner-radius
    3. C. border-radius
    4. D. round-border
    5. E. rounded-corners
  4. Button Padding

    Which CSS property is used to add space between the text and the border of a button?

    1. A. margin
    2. B. spacing
    3. C. border-spacing
    4. D. padding
    5. E. inner-space
  5. Changing Button Shape

    What CSS property allows you to change the height and width of a button?

    1. A. button-size
    2. B. shape
    3. C. size
    4. D. width and height
    5. E. element-size