CSS Backgrounds


  1. Which of the following will show a pop-up window that breaks into pieces once clicked?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    A pop-up window that breaks into pieces once clicked is called click and break it, in 3D movement effect a 3D message made with CSS3 and jQuery that follows user’s mouse movements will be shown.


  1. Which property specifies the painting area of the background?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    The CSS background-clip property specifies the painting area of the background, the property takes three different values, border-box-, padding-box, content-box. In content-box the background is painted within the content box.



  1. Which property specifies where the background image is positioned?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    The CSS background-origin property specifies where the background image is positioned. This property takes three different values namely border-box, padding-box, content-box. In content-box the background images start from the upper left corner of the content.


  1. What scales the background image as large as possible?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    The contain keyword scales the background image to be as large as possible but both its width and its height must fit inside the content area. As such depending on the proportions of the background image and background positioning area, there may be some areas of background which are not covered by the background image.



  1. What changes the shadow from an outer shadow?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    inset is an optional value, it changes the shadow from an outer shadow (outset) to an inner shadow, initial sets this property to its default value, inherit inherits this property from its parent element.