Clipping Elements with CSS clip-path rect(): When a Simple Rectangle Beats a Polygon
CSS clip-path rect() clips an element to a rectangle using four inward edge offsets. Learn the syntax, a worked crop example, the percentage footgun, and when inset() is the better pick.