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.

CSS CSS Layout Techniques Float Layout Mobile First Layout

Lauren Katz
Lauren Katz
713 Points

Where is Guil getting the global styles from that he's pasting back in?

Is this from a previous exercise?

2 Answers

14,636 Points

Yes, since the entire float layout sage styled the site using the float property, he's taking the properties and values that y'all worked on in videos 1-4 that are applicable to all of the elements whether it's mobile, tablet or desktop, and putting them in as the main CSS.

None of the styles are any different from all the stuff that was built over the course of the other 4 videos so he's just pasting them in. They're just going in a different order (i.e. the stuff that was media query rules are going up as the main style)


Huck - :sunglasses: