Designer & Author - UX - Information - Processes - Full-stack - UI - Applications/Web.
Founder of brandOn - Montreal design and development studio & Cssfox - Web designers' community.
Updated on December 2018. Surprise included.
There are two use cases Background-image in CSS or inline style and Img tag directly in HTML. Please note, for the second case (Img tag directly in HTML) the image have to be inside container.
The trick h...