Comment

Comment by typedetail

object-fit doesn't solve the problem, it is similar to using background-image and set the background-size:cover. Still when the container's width/height ratio doesn't match the image's, there is risk that image could be inappropriately cut off
parent typedetail 11 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton