How to insert a picture in shape of circle? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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??

18th Oct 2019, 12:58 PM
Optimist#700
Optimist#700 - avatar
4 Answers
+ 2
you can use css and insert image as a background for your div and not as an image.
19th Oct 2019, 5:59 PM
Lilit Yeghiazaryan
Lilit Yeghiazaryan - avatar
+ 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
18th Oct 2019, 1:17 PM
๐Ÿ‡ฎ๐Ÿ‡ณOmkar๐Ÿ•‰
๐Ÿ‡ฎ๐Ÿ‡ณOmkar๐Ÿ•‰ - avatar
+ 3
Thanks
18th Oct 2019, 7:07 PM
Optimist#700
Optimist#700 - avatar
+ 1
Thank You
20th Oct 2019, 3:37 PM
Optimist#700
Optimist#700 - avatar