CSS Backgrounds


  1. Which of the following is used for spread radius?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    blur is an optional value, it sets the spread radius. A positive value increases the size of the shadow, a negative value decreases the size of the shadow. For blur radius we set the value blur, the higher the number, the more blurred the shadow will be spread.


  1. Which of the following is set for horizontal offset of the shadow?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    h-offset is the required value, it is for the horizontal offset of the shadow. A positive value puts the shadow on the right side of the box, a negative value puts the shadow on the left side of the box.



  1. Which of the following property defines a color for the right and bottom edges of a scroll bar.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    Syntax: scrollbar-shadow-color: color


  1. Which of the following property defines a shadow color for the right and bottom edges of a scroll bar?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    scrollbar-darkshadow-color: color



  1. Which of the following property sets an element’s background color?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    Syntax: background-color: color | transparent