Interactive illustration of clipping everything to the right of a variable line controlled by dragging/ clicking. Highlights the default <geometry-box> ( border-box ) and the clipping rectangle defined by the inset() basic shape (this is the shape that remains visible after clipping). Image by Sanath Kumar .
clip-path : inset ( 0 50% 0 0 )