Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Relawan kami belum menerjemahkan artikel ini ke dalam Bahasa Indonesia . Bergabunglah dan bantu kami menyelesaikan pekerjaan ini!

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 valuenormal
Applies toAll elements. In SVG, it applies to container elements, graphics elements, and graphics referencing elements.. It also applies to ::first-letter and ::first-line.
Inheritedno
Medianone
Computed valueas specified
Animatableno
Canonical orderthe unique non-ambiguous order defined by the formal grammar

Syntax

/* One value */
background-blend-mode: normal;

/* Two values, one per background */
background-blend-mode: darken, luminosity;

/* Global values */
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.

Formal syntax

<blend-mode>#

Examples

Specifications

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

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 8

See also

Tag Dokumen dan Kontributor

 Kontributor untuk laman ini: mrstork, Sebastianz, fscholz, teoli, jsx, amitabha197, realityking, TWebs, mii8303, cabanier, FredB
 Terakhir diperbarui oleh: mrstork,