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 would you go about doing this site?

Hi,

If you look at uber site, how would you go on about doing the layout of the site? Any patterns?

I though my way on how to do it, which is to just do a normal layout, and then just add the necessary stuff to make the effect. Was wondering what you woudl do.

1 Answer

I would take an iterative approach, starting with a high-level mobile layout - creating empty or placeholder content blocks using a cross-browser front-end framework like Bootstrap or Foundation, adjust the flow of those blocks responsively across device widths, and being mindful of the semantic layout of the page. Then I would lay in more realistic text and image content adjusting fonts and spacing according to the design spec and test across devices. Finally, I would wire in behaviors / elements that change based on state and advanced things like the parallax scrolling effect.