Search pages
Search all CSS Showcase pages by name
CSS Blend Modes
Create stunning visual effects by blending colours and images together. Master Photoshop-style blending right in your CSS with mix-blend-mode and background-blend-mode.
What Are Blend Modes?
Blend modes determine how an element's colours mix with the colours behind it. If you've used Photoshop or other design tools, you're already familiar with blend modes like multiply, screen, and overlay. CSS brings these same effects to the web!
All Blend Modes
CSS supports 16 blend modes. Each creates a unique effect — experiment to find the perfect look for your design. The purple/blue base gradient blends with a pink/coral overlay gradient.
mix-blend-mode
The mix-blend-mode property blends an element with everything behind it — backgrounds, images, text, the whole backdrop.
BLEND
Light Background
Dark Background
background-blend-mode
Use background-blend-mode to blend multiple background layers together. This creates rich, complex effects without extra elements.
Beautiful Blending
Gradient overlaid on pattern
Textured Effect
Adding depth with blend modes
Real-World Examples
Here's how blend modes solve real design problems — from adaptive text to colourful shadows.
Adaptive Text
Light theme
Adaptive Text
Dark theme
Vibrant Card
With blended shadows
Performance Tips
Blend modes can be GPU-intensive. Follow these best practices to keep things smooth.
- Use sparingly: Blend modes can be GPU-intensive on complex layouts
- Isolate blending: Create a new stacking context with
isolation: isolate - Test on mobile: Performance varies across devices
- Avoid over-nesting: Multiple blend modes stacked on top of each other can be slow
- Feature detection: Use
@supports (mix-blend-mode: multiply)for progressive enhancement
- Chrome/Edge: 35+ — fully supported
- Firefox: 32+ — fully supported
- Safari: 8+ — fully supported
- Internet Explorer: Not supported — use @supports for graceful degradation