How to create an object-fit property using CSS

How to create object fit property using css

In this article, you will learn How to create an object-fit property using CSS. Example:- <html> <head> <title>Object fit property</title> <style> .fill{ object-fit: fill; } .contain{ object-fit: contain; } .cover{