+ 1
How to make a circle using div element?? help guys
7 Answers
+ 6
border-radius attribute. In my experience, 50% and over looks like a circle.
+ 4
Try this:
body {
display: flex;
}
img {
margin: auto;
}
+ 2
Yes exactly, it's a border-radius of 50%
+ 2
@Calvin
Do you think your solution would help here (assuming I have the translation right)?
https://www.sololearn.com/Discuss/760123/?ref=app
+ 2
@Calvin, it works with:
height:100vh;
in body{} I'll note your help.
+ 1
ty