CSS Property:
clip:
auto
rect(0px,25px,25px,0px)
rect(0px,50px,50px,0px)
rect(10px,50px,50px,10px)
rect(10px,100px,50px,10px)
rect(10px,100px,100px,10px)
rect(0px,100px,100px,0px)
initial
Result:
Play with different clip values for this yellow DIV element.
CSS Code:
div#myBox { position:absolute; background-color:yellow; width:100px; clip:
auto;
}
Click the property values above to see the result
W3Schools.com
- Play it