The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Round corners in Image.
Is it possible to give an Image Rounded Corners with css like this:
roundedCornerImage{ border: inside 30px solid #FFFFFF; border-radius:30px; -webkit-border-radius:30px; }
something like that?
border: inside 30px solid #FFFFFF; <-- That 'inside' doesn't exist as a value as far as I know. I don't think it will ever either - It would mess up the box model.
Yes, it’s very possible! Check this out https://css-tricks.com/video-screencasts/57-using-css3/
.round { -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; }
That will round anything that has a class of “round”.