Want to share your CSS expertise with others? Apply to the MDN Fellowship by April 1! http://mzl.la/MDNFellowship

mozilla
Your Search Results

    background-blend-mode

    Summary

    The background-blend-mode CSS property describes how the element's background images should blend with each other and the element's background color. 

    Blending modes should be defined in the same order as the background-image CSS property. If the blending modes' and background images' list lengths are not equal, it will be repeated and/or truncated until lengths match.

    • Initial value *Value 'initial-background-blend-mode' not found in DB*
    • Applies to all elements. In SVG, it applies to container elements, graphics elements, and graphics referencing elements. It also applies to ::first-letter and ::first-line.
    • Inherited *Value 'inherited-background-blend-mode' not found in DB*
    • Media *Value 'media-background-blend-mode' not found in DB*
    • Computed value as specified
    • Animatable no
    • Canonical order the unique non-ambiguous order defined by the formal grammar

    Syntax

    Formal syntax:  Syntax not found in DB!
    /* One value */
    background-blend-mode: normal;
    
    /* Two values, one per background */
    background-blend-mode: darken, luminosity;
    
    background-blend-mode: initial;
    background-blend-mode: inherit;
    background-blend-mode: unset;
    

    Values

    <blend-mode>
    Is a <blend-mode> denoting the blending mode to be applied. There can be several values, separated by commas.

    Examples

    Specifications

    Specification Status Comment
    Compositing and blending Level 1
    The definition of 'background-blend-mode' in that specification.
    Candidate Recommendation Initial specification.

    Browser compatibility

    Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
    Basic support 35 30.0 (30.0) Not supported 22 7.1
    Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
    Basic support Not supported 30.0 (30.0) Not supported 22 iOS 8

    See also

    Document Tags and Contributors

    Contributors to this page: TWebs, FredB, jsx, cabanier, mii8303, amitabha197, Sebastianz, teoli, realityking
    Last updated by: jsx,