Button

Fully responsive images

By Jon Cole

What if I told you images could be cropped by their parent div omni-directionally, behaving like background-size: cover, but retaining the feature set of an IMG element? There's object-fit for that.



Tell me about EA