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 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

huckleberry
huckleberry
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)

Cheers,

Huck - :sunglasses: