What is the code to get rounded corners for the image in output? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the code to get rounded corners for the image in output?

4th Jan 2017, 1:32 PM
Sindhuja.N
Sindhuja.N - avatar
4 Answers
+ 6
do it with percentance *{border-radius:5%;}
4th Jan 2017, 1:45 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 5
#image{ border-radius: 10px; }
4th Jan 2017, 1:43 PM
Jonas Fallmann
Jonas Fallmann - avatar
+ 1
I think it would be the border-radius attribute
4th Jan 2017, 1:34 PM
Leon Nascimento
Leon Nascimento - avatar
+ 1
Thank yu all tried it and its workin with both px and %.
4th Jan 2017, 1:49 PM
Sindhuja.N
Sindhuja.N - avatar