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!
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
fadhil suhendi7,680 Points
I have question for css, so when do we have to use %,em, or px in our css value ? I mean how do we choose between those 3 units to our value ? for instance is em only for text ? or maybe % is only size of an image.. How do we decided to pick ?
George Dinmore518 Points
em is for text only from my experience of learning on here. The % is for the ease of desktop to mobile to desktop. So basically, the website is durable in all sizes and can be viewed on any media from desktop to smartphones.