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 Flexbox Layout Building a Layout with Flexbox Building a Navigation Bar with Flexbox

Cory Stover
Cory Stover
3,341 Points

Do we HAVE to have a separate flexbox css file or can that also be in the main css file?

He has 2 css files and I just want to know if this is necessary?

Ezra Siton
Ezra Siton
12,644 Points

One file, two files, 30 files, embed (wrap with <style>/*styles her*/</styles>). Only the order of the files/styles matters :

https://teamtreehouse.com/library/the-cascade-specificity-and-source-order

https://css-tricks.com/precedence-css-order-css-matters/

1 Answer

Cory Stover
Cory Stover
3,341 Points

Nevermind, he answered right after I posted.