How do I use CSS to add a non-rectangular border around an image?

Posted by KPL on Stack Overflow See other posts from Stack Overflow or by KPL
Published on 2010-05-08T18:36:15Z Indexed on 2010/05/08 19:38 UTC
Read the original article Hit count: 316

Hello people,

I have three images, and they are not square or rectangular in shape. They are just like face of anyone.

So, basically, my images are in the size 196x196 or anything like that, but complete square or rectangle with the face in the middle and transperant background in the rest of the portion.

Now, I want to remove the transperant background too and just keep the faces.

Don't know if this is possible and mind you, this isn't a programming question.

EDIT (from comments): How do I put a border around the shape of the image, not a rectangular one around the boundary, using CSS.

© Stack Overflow or respective owner

Related posts about image-manipulation

Related posts about image-processing