How do you transform CSS rectangle to circle if both width and height are different dimensions | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 11

How do you transform CSS rectangle to circle if both width and height are different dimensions

In CSS you can make a circle from an existing rectangle by halfing the height and width, but what if the height and width are different dimensions, what do you do

8th Jan 2020, 2:59 PM
Abieyuwa Idehen
Abieyuwa Idehen - avatar
3 Answers
+ 10
You sure it will work
8th Jan 2020, 4:02 PM
Abieyuwa Idehen
Abieyuwa Idehen - avatar
+ 10
Thanks
8th Jan 2020, 4:02 PM
Abieyuwa Idehen
Abieyuwa Idehen - avatar
+ 4
Border-radius: 50%
8th Jan 2020, 3:07 PM
Anna/Аня
Anna/Аня - avatar