Skip to main content
Brave Programmer Logo

BraveProgrammer

BraveProgrammer

HomeProjectsBlogsCoursesLessonsAbout

Site footer

BraveProgrammer

Free coding courses, practical tutorials, and real projects from BraveProgrammer. Learn web development with React, Next.js, and TypeScript.

Navigation

  • Home
  • Projects
  • Blogs
  • Courses

Resources

  • About
  • Lessons
  • Teach on BraveProgrammer

© 2026 BraveProgrammer. All rights reserved.

CSS Blend Modes | CSS Course lesson | BraveProgrammer
  1. Courses
  2. /
  3. CSS Course

Lesson 18 of 50

·css

CSS Blend Modes

6 mins

Course progress36%

What you'll learn

Keep these ideas in mind as you work through the lesson.

3 points
  • `background-blend-mode` mixes multiple background layers.
  • `mix-blend-mode` mixes the element with whatever is behind it.
  • Blend modes are great for creative hero sections but may reduce readability – test contrast.

Blend modes control how a layer’s pixels blend with the underlying layer, mirroring Photoshop’s blend options.

background-blend-mode: multiply;
mix-blend-mode: screen;

Supported on images, backgrounds, and pseudo‑elements.


Example: Text over image with blend mode

.hero {
  background:url('mountain.jpg') center/cover;
  color:#fff;
  background-blend-mode: overlay;
}
Make it stickPractice what you've learned1 quiz · 6 practical tests · Optional activities from CSS CourseBrowse activities
Previous lessonCSS FiltersContinue to lesson 19Pseudo‑Classes & Pseudo‑ElementsBack to CSS Course curriculum