Monday, August 19, 2013

CSS position shape

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

<body>
<img src="pen.JPG" width="100" height="107" />
</body>
</html>

Result


No comments: