• AI Search
  • Cryptocurrency
  • Earnings
  • Enterprise
  • About TechBooky
  • Submit Article
  • Advertise Here
  • Contact Us
TechBooky
  • African
  • AI
  • Metaverse
  • Gadgets
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
  • African
  • AI
  • Metaverse
  • Gadgets
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
TechBooky
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Home General

Exploring CSS3 Background Blends: Creating Photoshop-like Effects with Pure CSS3

by
March 27, 2015
in General, Research/How to do it
Share on FacebookShare on Twitter

With the introduction of CSS3, we now have the capacity to add multiple backgrounds to a single element. This allows background images and/or colors to stack upon each other, much like in Photoshop’s layering concept. Supposing transparencies exist, the underlying background file, or color, can still shine through. The introduction of CSS3 Background Blends has opened new doors, allowing for unique and impressive combinations of multiple backgrounds.

background-blending-mode_collage

Creating Multiple Backgrounds and Selecting Effects

Beginning the process, firstly we need to use the “background” property to create more than one background. Adding multiple backgrounds is achieved simply by defining them, separated by commas. Following that, we use the innovative “background-blend-mode” property to set the desired blending effect.

1
2
3
4
body {
  background: url("clouds.jpg"), url("castle.jpg");
  background-blend-mode: multiply;
}

background-blending-mode_multiply
Original and “multiply” blended images

In this instance, we have used two JPEG files as our background images. Since JPEG files don’t contain any transparency, only the image called first will be visible – unless we utilize the CSS3 Background Blends. With the “multiply” value in the “background-blend-mode” property, we can combine the two images into a single stunning visual.

Emulating Photoshop Blending Effects

However, the “multiply” effect is just the tip of the iceberg. Numerous other blending effects are available, mirroring the layer effects found in Photoshop. Adobe has been instrumental in bringing this wide range of effects to CSS3. These effects can drastically enhance your images, with options like “soft-light” and “hard-light”, “darken” and “lighten”, “screen”, “overlay”, “color-dodge” and “color-burn”, to name some, extending even to “difference”, “exclusion”, “hue”, “color”, “saturation” and “luminosity”.

The outputs from CSS3 and Photoshop are nearly indistinguishable from each other. However, one must remember, using the “background-blending-mode” will apply the effect to all the given backgrounds.

1
2
3
4
body {
  background: url("clouds.jpg"), url("castle.jpg");
  background-blend-mode: lighten;
}

background-blending-mode_lighten
Original and “lightened” blended images

Using the “lighten” effect on both JPEGs, as demonstrated in this example, results in a plain white background. To use the effect on the first background only, we have the option of designating the second background to be displayed without effects.

1
2
3
4
body {
  background: url("clouds.jpg"), url("castle.jpg");
  background-blend-mode: lighten, normal;
}

In this case, we are individually defining effects for each image involved, where the second image, marked by the value “normal”, ensures that no effect is applied. You can choose any combination of effects that best suits your design needs.

1
2
3
4
body {
  background: url("clouds.jpg"), url("castle.jpg"), url("another.jpg");
  background-blend-mode: lighten, multiply, normal;
}

Remember to always use the “normal” value for any final background in your projects. This is required as there will be no following image or color to blend. While CSS3 Background Blends are not needed for simple backgrounds, they come in handy when using the “transition” property or for more complex designs.

Whether you choose images or colors does not matter. Each defined background will be treated as a separate layer to which an effect is applied. CSS3 gradients will be processed correctly as well.

1
2
3
4
body {
  background: url("clouds.jpg"), red;
  background-blend-mode: lighten, normal;
}

Current Browser Support

The “background-blend-mode” property is currently supported by the latest versions of major browsers as of writing this, including Chrome 35+, Firefox 30+, and Opera 22+. Safari’s support for the feature is anticipated from version 8 onwards.

You can find the original article on Noupe

This article was updated in 2025 to reflect modern realities.

[UPDATED_TB_2025]

Related Posts:

  • How-to-connect-to-EC2-instance-via-SSH-Linux-1
    Recovering SSH Access on AWS - A Step-by-Step Guide
  • Android-17-featured-image
    Google May Bring Apple-Like “Liquid Glass” Design to…
  • Screen_Shot_2020_08_11_at_8.40.27_AM
    Google Phone Introduces Personalised Profile Cards
  • Google-Photos-10th-year-celebration-1-1024×576
    Google Photos Marks 10th Anniversary with Editor…
  • Adobe_Firefly_capabilities
    Adobe Launches AI Photo Editing and 3D Design Tools
  • media_1ce13353b25021da3fdf085cf6ca3dcbb98a3f0ab
    Adobe Expands Premiere Pro & After Effects with New…
  • media_1daa589665e2b8d7fc6789397d9165614dbd68e48
    Adobe Video Editing Software Now Features The AI…
  • WordPress theme switch
    A Comprehensive Guide to Resolving File Permissions…

Discover more from TechBooky

Subscribe to get the latest posts sent to your email.

Tags: css3photoshopWeb Design

BROWSE BY CATEGORIES

Receive top tech news directly in your inbox

subscription from
Loading

Freshly Squeezed

  • YouTubers Sue Snap Over Copyright Infringement in AI Models January 28, 2026
  • Sony Plans A State of Play Broadcast in February January 28, 2026
  • TikTok Avoids Trial, Settles Lawsuit Over Addiction Claims January 27, 2026
  • Ezra Olubi Sues David Hundeyin for ₦140M Over X Defamation January 27, 2026
  • Lagos & MTN Team Up on Eco-Friendly Obalende Bus Park January 27, 2026
  • France Ditches Microsoft Teams, Zoom for Homegrown ‘Sovereign’ Platform January 27, 2026
  • Meta Tests Premium Subscriptions on Facebook, Instagram & WhatsApp January 27, 2026
  • Microsoft Introduces New IT Admin Tool to Analyse Security Breaches January 27, 2026
  • Google May Bring Apple-Like “Liquid Glass” Design to Android 17 January 27, 2026
  • TikTok Blames Power Outage for US Service Problems January 27, 2026
  • Nvidia Backs CoreWeave With $2B to Support Data Centre Growth January 27, 2026
  • Google Agrees $68M Settlement in Google Assistant Privacy Lawsuit January 27, 2026

Browse Archives

January 2026
MTWTFSS
 1234
567891011
12131415161718
19202122232425
262728293031 
« Dec    

Quick Links

  • About TechBooky
  • Advertise Here
  • Contact us
  • Submit Article
  • Privacy Policy
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
  • African
  • Artificial Intelligence
  • Gadgets
  • Metaverse
  • Tips
  • AI Search
  • About TechBooky
  • Advertise Here
  • Submit Article
  • Contact us

© 2025 Designed By TechBooky Elite

Discover more from TechBooky

Subscribe now to keep reading and get access to the full archive.

Continue reading

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.