CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS clip property




CSS clip property use to set a image shape part are indicated to dislpay.


Property Values


Properties Value Description
Syntax clip:rect('top', 'right', 'bottom', 'left')
value   shape
  auto
  inherit
Allow to Positional Elements
Inherited No

Example-Code:

<p style="background-image:url(../../jix/img_nat.png);width:207px;
height:130px;clip:rect(auto, auto, auto, auto);"> </p>
Online Try This Code Your Self....   »

Example-Result: