![]() ![]() The default value it takes is object-position: 50% 50%. The object-position property is used together with object-fit property to move the image around the content box. ![]() The object-position property is used together with object-fit to specify how an or should be positioned with x/y coordinates inside its “own content box”. scale-down – The content is sized as if none or contain were specified (would result in a smaller concrete object size).none – The replaced content is not resized.cover – The replaced content is sized to maintain its aspect ratio while filling the element’s entire content box.contain – The replaced content is scaled to maintain its aspect ratio while fitting within the element’s content box. ![]() If necessary, the object will be stretched or squished to fit
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |