Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAmbar Mukherjee
1,724 PointsProfile photo is shaped like oval, not circle.
My profile picture is looking like oval by the border-radius: 100% attribute. Please help me to make it circle.
6 Answers
tuukka uosukainen
22,107 PointsI think you can achive an oval with border-radius of 50%.
Hope this helps!
Joseph Damiani
1,066 PointsNotice that Nick's photograph is 512px x 512px versus your own photographs pixel size. None of the threads about this topic worked to convert the oval to a circle. When I resized my image to 512px x 512px is when it worked.
tuukka uosukainen
22,107 PointsI mean circle :)
Ambar Mukherjee
1,724 PointsYes it was shown oval, I have then edited the photo as square image, now it is circle. Thanks @yuukka
tuukka uosukainen
22,107 PointsYou are welcome Ambar!
Happy coding.
kabir k
Courses Plus Student 18,036 PointsHow did you edit your photo to be a square image?
Konrad Pilch
2,435 PointsYou can achieve also nice rounded corners if you put like 2-5px. Instead of plain square your going to have a nice one. Unless of course , the square is going to look better ^^
Ambar Mukherjee
1,724 PointsThanks for your reply, Konrad Pilch