object-view-box was suggested by Jake Archibald early this year. It allows us to crop or resize replaced HTML elements like an </img> or a <video> It will help us in drawing an inset and control the four edges, just like we deal with margin or padding.
2 Comments
Sort: