Skip to content

Instantly share code, notes, and snippets.

@carlos-sanchez
Created November 14, 2013 00:42
Show Gist options
  • Save carlos-sanchez/7459249 to your computer and use it in GitHub Desktop.
Save carlos-sanchez/7459249 to your computer and use it in GitHub Desktop.
Clip property. First thing you should note: the clip property only works on elements with position: absolute or position: fixed. It won’t work with relative or static positioning. The clip property accepts only three different values: auto: this is the default behavior. Setting clip to auto is the same thing as not using clip at all. inherit: we…
clip: rect(40px, 260px, 150px, 80px);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment