Cascading Style Sheets/Clipping

< Cascading Style Sheets

Clip Property Top/Left Coordinates

The top and left parameters of the clip property remove any pixels with coordinates above or before the specified values, based on the top and left edges of the element.

Clip Property Bottom/Right Coordinates

Clip Property Limitations

Clip Property Usage

Use clip: rect(0, auto, auto, 0); as the default clip values to do proper trial and error

Use clip: rect(0, ###, auto, 0); to clip from left-to-right

Use clip: rect(0, auto, ###, 0); to clip from top-to-bottom

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.