CSS object-fit Property for resizing and placement of images

preview_player
Показать описание
If you have been cropping images manually to fit your images into the design of your web page, or if you have been using background images instead of image elements to position them correctly, it's time to learn about this "object-fit" property in CSS.

For more such tips, tricks and tutorials, subscribe to this channel.

Рекомендации по теме
Комментарии
Автор

This was not what I was looking for at all, but this was a brilliant video, short and straight to the content which was highly informative and educational. I learnt something I can use in future.

hils
Автор

Just a perfect Quick tutorial for Oject-fit properties ! ! !

samialvi
Автор

Thanks you for sharing, Your example is easy to understand.

sokhengyim
Автор

Awesome video clear and calm voice. If you can put videos on other framework such as react material, angular material theme development will be great also if you cover frameworks like react gatsby or any that you know more also more on PHP will be great. Thank you very much. Great efforts

mohankashelkar
Автор

Effective and helpful video.
Thanks 💗🇧🇩

azomkhan
Автор

mam i tried object fit but still the photo isn't resized according to my need ? Do i have to write this property inside my <img> tag or inside of <div> tag containing the image and text of the card ?

phlox