CSS

andrew rainey
andrew rainey
1,601 Points

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
146,435 Points

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

andrew rainey
andrew rainey
1,601 Points

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

andrew rainey
andrew rainey
1,601 Points

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

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