• 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
  • African
  • AI
  • Metaverse
  • Gadgets
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
TechBooky
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
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:

  • OpenAI Is In Talks To raise Funds That Would Value It At $29b
    OpenAI Is In Talks To raise Funds That Would Value…
  • whatsapp-proxy
    WhatsApp Adds Proxy Support To Bypass Restrictions…
  • How-to-connect-to-EC2-instance-via-SSH-Linux-1
    Recovering SSH Access on AWS - A Step-by-Step Guide
  • best-Practices-to-Convert-JFIF-to-PDF-File-in-2022
    Best Practices To Convert JFIF To PDF File In 2022
  • 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…

Discover more from TechBooky

Subscribe to get the latest posts sent to your email.

Tags: css3photoshopWeb Design

BROWSE BY CATEGORIES

Select Category

    Receive top tech news directly in your inbox

    subscription from
    Loading

    Freshly Squeezed

    • iOS 26 Public Beta Is Live: How to Install Liquid Glass and Apple Intelligence July 24, 2025
    • UK Aims To Regulate Google and Apple Mobile Platforms July 24, 2025
    • YouTube Shorts Adds AI Effects and Photo Animation Tools July 24, 2025
    • WhatsApp Beta Adds Reminders, Tests Meta AI Voice Calls July 24, 2025
    • Google’s AI Overviews Reach 2 Billion Users—Is Traditional SEO Dead July 24, 2025
    • Recent Canvas Deal From OpenAI Can Push AI In Education July 24, 2025

    Browse Archives

    July 2025
    MTWTFSS
     123456
    78910111213
    14151617181920
    21222324252627
    28293031 
    « Jun    

    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
    • African
    • Artificial Intelligence
    • Gadgets
    • Metaverse
    • Tips
    • 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.