+ 1
How to insert a picture in shape of circle?
While generating a Blog, how can I insert a picture in the circle shape through HTML??
4 Réponses
+ 2
you can use css and insert image as a background for your div and not as an image.
+ 4
You'll need some css so now start CSS course 😊
img
{
border-radius:50%;
}
watch live demo of border-radius here :
https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius
edit:
W3School has an example:
https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_rounded_images
+ 3
Thanks
+ 1
Thank You