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 trialja5on
10,338 PointsI would like my 3 items of flexbox to each have one paragraph and picture inside. any ideas
I'm trying to learn flexbox, i added flex-container and am trying to insert content into three items but i'm stuck. Hope someone can see what i'm trying to do.
Many thanks any suggestions.
1 Answer
Roberts Peirags
Front End Web Development Techdegree Student 12,053 PointsHi jasonj7 ,
Can you please explain what are you trying to do ?
In your .flex-container
class there is a property flex-direction: column
that's flex direction.
https://codepen.io/indaqoo/pen/zYqjZaB
You can check mdn for flexbox examples ;) https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox
ja5on
10,338 Pointsja5on
10,338 PointsI'm trying to get the content to resize appropriately when changing the window size, plus i would mostly like a more proportionate layout between paragraphs and pictures