We would like to know how to cut image with Rounded corners.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
.websiteart img {<!--from w ww. j av a 2 s . c o m-->
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
}
</style>
</head>
<body>
<div class="websiteart">
<img
src="http://www.java2s.com/style/download.png"
height="100" width="300" />
</div>
</body>
</html>
The code above is rendered as follows: