How many values are there for the object-fit property?

Minh Tung

New member
How many values are there for the object-fit property?
A. 2
B. 5
C. 3
D. 4
 
Answer: b
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.
 

Tìm kiếm

Back
Top