-
How many values are there for the object-fit property?
-
- 5
- 4
- 3
- 2
- None of these
Correct Option: A
object-fit property can have 5 properties names fill, contain, cover, none, scale-down. The default value is fill, the replaced content is sized to fill element’s content box, with help of contain the replaced content is scaled to maintain its aspect ratio while fitting element’s content box.