1.

How many values are there for the object-fit property?(a) 2(b) 5(c) 3(d) 4This question was posed to me in examination.This interesting question is from Miscellaneous topic in chapter CGI Programming & Miscellaneous of CSS

Answer»

Correct choice is (B) 5

The best explanation: 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.



Discussion

No Comment Found

Related InterviewSolutions