I made a JS Fiddle in which I embed an image with rounded corners.
Here is the CSS for the img tag.
img {
-webkit-border-radius: 20px;
border: 20px solid #000;
border-radius: 20px;
}
How do I make the border of the image follow the curve of the rounded corners? Right now, the image itself still has sharp corners.
Here, http://jsfiddle.net/JDRSc/7/
HTML
CSS