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 Enhancing Design with CSS Background Images CSS Background Blend Modes

Yariel Peralta
Yariel Peralta
7,118 Points

I need help I tried doing what I did and background-blend-mode: exclusion; but it doesn't work.

main {
  max-width: 600px;
  height: 400px;
  background: url(mtn-landscape.jpg) center / cover mediumaquamarine;
  /* Add blend mode here */
  background-blend-mode: hard-light ;
<!DOCTYPE html>
    <title>Background Blend Modes Challenge</title>
    <link rel="stylesheet" href="page.css">
    <link rel="stylesheet" href="style.css">

1 Answer

Steven Parker
Steven Parker
220,683 Points

Neither hard-light nor exclusion modes conform to the challenge instructions. The challenge says: "Use the value that multiplies background-image and background-color to create a darker background."

Hint: Note that the description contains a word that should help identify the correct blending mode.   :wink: