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
Andrew Folts
14,238 PointsBest way to learn about CSS for mobile & tablet?
I have a personal site designed, which looks great on all sizes of a desktop device, but it's a mess on tablets and phones. All my font sizes and styles in px were 2x too small.
I tried adding new media queries for retna devices and multiplied all my px styles by 2, which mostly worked, but it feels really hacky and way too much work. Does anyone know of a course at Treehouse or elsewhere that covers styling for mobile and tablets that have different pixel ratios?
Thanks!
1 Answer
Jason Anders
Treehouse Moderator 145,863 PointsHey Andrew,
Maybe give the "Responsive Layouts" course by Nick a look at. It's a short course, but gives great examples of how to use CSS to style different view sizes to achieve proper layout.
:)