Bummer! That course has been retired.

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

two background images with the top having an opacity.

Is it possible to have two background images on top of each over with the very top having an opacity so that you can see the second image coming through. I know you can do this with an image and rgb color but what about two images???

2 Answers

This can be done by stacking two elements and setting different background images for each one. Have a look at a quick fiddle I made.

https://jsfiddle.net/3n09eLaL/

great thanks for that.