Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS

Sunshine Khawaja
Sunshine Khawaja
1,845 Points

backgrounds and logos

I've created a logo and this is my first time using one over a background image. Is it better to combine a logo and background image in photoshop or keep them separate? Mainly asking for responsive reasons. Would it be better to be able to target each element separately or does it not matter?

1 Answer

Erik McClintock
Erik McClintock
45,783 Points

Sunshine,

I would say that keeping your logo as an actual image is important for usability. Background images should only be used in situations where the image itself does not play any significant role in understanding the content that it is accentuating; i.e. it should be purely aesthetic. The logo for your company/website/etc is arguably an important piece of content that should stand alone and have alt text so you don't run the risk of it being completely lost to the end user in situations where images may not have loaded properly. Additionally, image responsiveness (at least at the basic level) is relatively simple to achieve, so there should be no concerns in that regard.

Hope this helps!

Erik