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

How to get a layout like this ?

Hi I have been asked to create a layout on a page that looks like the attached image:

https://i.stack.imgur.com/xYccX.png

What would be the best way to achieve this? Flexbox? CSS Grid ?

Any code help would be great as don't really want have to use a messy page builder

Thanks

Andrew Rainey

2 Answers

Steven Parker
Steven Parker
231,248 Points

Sure, flexbox would be one way. CSS grids would be another. There are courses here for both.

Thanks for this

Yeah I had a mess about with Flexbox at the weekend and was able to achieve what I was looking for fairly quickly

I think I will invest a bit more time in Flexbox to begin with

Looks like I was actually able to find the answer here :

https://internetingishard.com/html-and-css/flexbox/