crop image from left30% in css code example Example: how to crop images in css img{ object-fit: cover; }