How is it possible to smoothing the edges of an image using CSS? -


when tried add image in website edges feel rough.

enter image description here(note: in above image can see rough surface around berry).

this happened when removed background using image editor.is possible smooth edges using css? if yes,then how?

thanks in advance...!!!

don't try fix using css. instead use png24 (not png8 or gif) because has proper alpha (transparency) , remove background colour using background colour alpha mask (or similar technique).

you can free software gimp if don't have photoshop

edit: noticed it's available svg, why aren't using that?


Comments

Popular posts from this blog

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -