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

What width are we writing for mobile first?

So basically, we are told to use mobile first approach then use media queries for higher widths however we aren't told what is the first width to write our code in. When we do mobile first in CSS we do not write a media query to show what width it is we just write for 'mobile' so what does that 'mobile' mean in width wise?

Marco Caruso
Marco Caruso
5,208 Points

480px is the average width of display for mobile devices.