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 Responsive Layout

Asko Krimann
Asko Krimann
19,367 Points

Are pictures in Techdegree Project 2 ( responsive layout ) fixed or fluid?

In video, when manually scaling up from mobile view, the navigation, profile picture and textfield are fixed and won't stretch till breakpoint, but are same with pictures or they get bigger till breakpoint happens @768px?

Owa Aquino
Owa Aquino
19,277 Points

I think it's better if you add a max-width to the img so it'll adjust with the view port.

img {
  max-width: 100%:
}

1 Answer

You need to look at the code for the breakpoint. Most times imgs, have a max-width of 100% and then another set width in percents to adjust to the new width.

Asko Krimann
Asko Krimann
19,367 Points

Yes, I know it, but in video it won't show in browser if images scale up or not because images are so low on screen and it shows only header part. I can do both ways, but I wanna know if there are any specific requirements for grading.

No idea about grading, I can't even see the project. So when it comes to that, no idea.

Asko, have you tried asking in the Techdegree Slack?

Yeah! if there is a slack channel, that would be my first go to when having questions about Techdegree material, such as grading, and course requirements, but please use the Community for code questions.