Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

General Discussion

Create flex picture

Help me with posting a lon code here please. I don't understand how to do it. idea is. I have a header and two pictures inside of it. By changing the size of the screen i want this pictures to change its size (height and width) proportionally. How can i do it?????

And the second question i'm erally stucked in how to insert HTML and CSS code here becasue result is not what i have copy pasted here. So here is a link to codepen please take a look http://cdpn.io/AyELd

2 Answers

I think you are going to need som a Javascript over here. What proportion are you talking about maybe i can help :) ?

This pictures are what i need. And the min size should be in two times smaller. For example right now it is something about 48x48 after changing the size it should be something about 24x24 What do you think?