-
What should be the set value of the background-size property such that image will fit in the content area?
-
- cover
- 100%
- 100%100%
- contain
- None of these
Correct Option: C
If the background-size property is set to “contain”, the background image will scale and will try to fit in the content area. Still, the image will keep its aspect ratio i.e. the proportional relationship between the image’s width and height.