nerdexam
CIW

1D0-720 · Question #60

Which CSS3 property allows for multiple background images for an element?

The correct answer is A. background-image. background-image is the correct answer because CSS3 extended this existing property to accept a comma-separated list of image values (e.g., background-image: url(a.png), url(b.png);), enabling multiple layered backgrounds on a single element. background-repeat controls how a…

Advanced CSS3 Styling and Layout

Question

Which CSS3 property allows for multiple background images for an element?

Options

  • Abackground-image
  • Bbackground-repeat
  • Cmultiple-background
  • Dbackground-composite

How the community answered

(28 responses)
  • A
    89% (25)
  • B
    4% (1)
  • C
    7% (2)

Explanation

background-image is the correct answer because CSS3 extended this existing property to accept a comma-separated list of image values (e.g., background-image: url(a.png), url(b.png);), enabling multiple layered backgrounds on a single element. background-repeat controls how a background tiles and has nothing to do with specifying image sources. multiple-background is not a real CSS property - it was never part of any specification. background-composite is also fabricated; while compositing concepts exist in graphics, there is no CSS property by that name.

Memory tip: Think "one property, many values" - CSS3 didn't need a new property for multiple backgrounds, it just let background-image accept a comma-separated list, the same way transition accepts multiple transitions.

Topics

#CSS3 background-image#multiple backgrounds#CSS properties#advanced styling

Community Discussion

No community discussion yet for this question.

Full 1D0-720 Practice