I am a little new to CSS. I am trying to apply to an image a 16:9 ratio.
I have seen both the object-fit and aspect-ration properties.
Do I need the object-fit property if I just use the aspect-ratio: 16/9 property ?
I did read an article New aspect-ratio CSS property and the writer uses both.
Can someone please clarify this?