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 trialYariel Peralta
7,118 Pointswhat do i do here I know its to put a blend mode but I am confused. can anyone help?
main {
max-width: 600px;
height: 400px;
background: url(mtn-landscape.jpg) center / cover mediumaquamarine;
/* Add blend mode here */
background-color: darker color;
}
<!DOCTYPE html>
<html>
<head>
<title>Background Blend Modes Challenge</title>
<link rel="stylesheet" href="page.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<main>
</main>
</body>
</html>
1 Answer
Caleb Kemp
12,755 PointsIt's a pretty straightforward challenge just like you can use "color" to adjust the color of the text, you can use the "background-blend-mode" to blend the background.
example 1. If I wanted to apply to blend using the "exclusion" property, I would write
background-blend-mode: exclusion;
example 2. if I wanted to use the "hard-light" property it would look like
background-blend-mode: hard-light;
So, in this challenge, the teacher wants you to do that with the "multiply" property. Hope that helps, and let me know if it gives you any more difficulty.