+ 1

How to make a circle using div element?? help guys

3rd Oct 2017, 1:42 PM
Jitesh Gupta
7 Réponses
+ 6
border-radius attribute. In my experience, 50% and over looks like a circle.
3rd Oct 2017, 1:59 PM
Kirk Schafer
Kirk Schafer - avatar
+ 4
Try this: body { display: flex; } img { margin: auto; }
3rd Oct 2017, 4:29 PM
Calviղ
Calviղ - avatar
+ 2
Yes exactly, it's a border-radius of 50%
3rd Oct 2017, 2:32 PM
Αητοιπe
Αητοιπe - avatar
+ 2
@Calvin Do you think your solution would help here (assuming I have the translation right)? https://www.sololearn.com/Discuss/760123/?ref=app
3rd Oct 2017, 3:52 PM
Kirk Schafer
Kirk Schafer - avatar
+ 2
@Calvin, it works with: height:100vh; in body{} I'll note your help.
3rd Oct 2017, 5:04 PM
Kirk Schafer
Kirk Schafer - avatar
+ 1
ty
3rd Oct 2017, 2:02 PM
Jitesh Gupta