[SOLVED] By setting the border-radius property more than a half of the box'es(square) side will still result as a circle. Why? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

[SOLVED] By setting the border-radius property more than a half of the box'es(square) side will still result as a circle. Why?

Why is this happening? What internal mechanism is behind this? Anybody knows? Clarification: div { border: 1px solid; /* the circle will be if I set 120px or 140px and so on */ border-radius: 100px; height: 100px; width: 100px; } https://code.sololearn.com/W5oP5lWB58ut Answer: https://www.w3.org/TR/css-backgrounds-3/#corner-overlap This picture can help to grasp problem a little too: https://res.cloudinary.com/rinat/image/upload/v1565591758/for-sololearn/bdrs_k078ah.jpg

12th Aug 2019, 4:15 AM
Вап
2 Answers
+ 6
Can you explain more ??
12th Aug 2019, 4:30 AM
Aziz ;)
Aziz ;) - avatar
+ 6
It Was A Problem And Solved By Himself!!!
13th Aug 2019, 12:26 AM
Rabia Alhaffar
Rabia Alhaffar - avatar