SIGN UP MEMBER LOGIN:    
Blog

Clip Property Of CSS

Posted by Mahak Gupta Blogs | ASP, JavaScript, CSS Jan 20, 2012
If we want to see the particular part of the Image, we use the Clip Property.
If we want to see the particular part of the Image, we use the Clip Property. In this property, We specify the particular dimensions which we want to visible.

<html>
<head>
<style type="text/css">
img 
{
position:absolute;
clip:rect(0px,40px,100px,0px);
}
</style>
</head>

<body>
<img src="123.jpg" height="40"  width="50" />
</body>
</html>

share this blog :
post comment