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 trial

CSS

Hello. how can I know what is the maximum amount of px for a picture? is it an individual value? how can I find it?

I.E. if I use Nick's picture, how can I know what is the maximum pixels value (which will make it rounded)? I guess that every picture has it's own maximum pixels value. Is there a way to know it?

** I'm talking about the css value border-radius: XXpx;

If I understand your question correctly, you want to know how much border radius in px you have to add to an image for it to become a circle.

as a general rule of thumb, you want to use an image that has the same width and height dimensions.

for instance 150 x 150, would be made rounded like a circle by setting the border radius to 50%.

So, 150 x 150 would be border-radius: 75px;

Hope this helps you out, if I didn't answer your question let me know.