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 Unused CSS Stages Transitions and Transforms 3D Transforms: Part 1

Jason Collins
Jason Collins
5,379 Points

images for sides

My images won't appear for my sides. Not sure why, they appear for other things such as backgrounds and other div elements but not for the sides.

4 Answers

Paul McBride
Paul McBride
13,514 Points

You've made a tiny mistake. You need to wrap the URL in quotation marks like this:

css: .side-a { background: url("../images/Of_Embers_Logo1.1.png"); }

I hope that sorts your problem out. =]

Paul McBride
Paul McBride
13,514 Points

What do you mean by side?

Can you post some examples of code so we can see if there in an error?

Jason Collins
Jason Collins
5,379 Points

In the 3d transition videos he works with two images which are named side-a and side-b which then make the two sides of the transition... here is my code as it stands, ive been trying a million things not sure what is up:

html: <div class="wrap"> <div class="side-a"></div> <div class="side-b"></div>

css: .side-a { background: url(../images/Of_Embers_Logo1.1.png); }

.side-b { background-image: url(../images/horns1.2.png); }

right now i just want the images to show up on the page next to each other or whatever, the page is just blank

Jason Collins
Jason Collins
5,379 Points

Thank you for your responses! I finally figured out that my .wrap wasn't big enough to hold the image...I guess you learn by doing.