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 trialorange sky
Front End Web Development Techdegree Student 4,945 Pointsthe pixel in the margin of the profile picture
Hello!
In the css rule below for the picture in the About page, I wonder why we are using px. I thought media queries should use percentage so that the properties can alter with the screen size. Is there a rule of thumb for when it is best to always use pixels when doing responsive layouts?
.profile-photo{ float:left; margin: 0 5% 80px 0;
}
Thanks