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

mozilla

Revision 621329 of mix-blend-mode

  • Revision slug: Web/CSS/mix-blend-mode
  • Revision title: mix-blend-mode
  • Revision id: 621329
  • Created:
  • Creator: kyleolsondesign
  • Is current revision? No
  • Comment

Revision Content

{{CSSRef()}}

Summary

The mix-blend-mode CSS property describes how an element content should blend with the content of the element that is below it and the element's background.

{{cssbox("mix-blend-mode")}}

Syntax

Formal syntax:  {{csssyntax("mix-blend-mode")}}

Values

<blend-mode>
Is a {{Xref_cssblendmode()}} denoting the blending mode that should be applied. There can be several values, separated by commas.

Examples


Specifications

Specification Status Comment
{{ SpecName('Compositing', '#mix-blend-mode', 'mix-blend-mode') }} {{ Spec2('Compositing') }} Initial specification.

Browser compatibility

{{CompatibilityTable()}}

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support {{CompatUnknown()}} {{CompatGeckoDesktop('28.0')}} {{CompatUnknown()}} {{CompatUnknown()}} 8.0{{ property_prefix('-webkit') }}
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support {{CompatUnknown()}} {{CompatUnknown()}} {{CompatUnknown()}} {{CompatUnknown()}} 8.0{{ property_prefix('-webkit') }}

See also

Revision Source

<p>{{CSSRef()}}</p>
<h2 id="Summary" name="Summary">Summary</h2>
<p>The <code>mix-blend-mode</code> CSS property describes how an element content should blend with the content of the element that is below it and the element's background.</p>
<p>{{cssbox("mix-blend-mode")}}</p>
<h2 id="Syntax" name="Syntax">Syntax</h2>
<pre class="syntaxbox">
<code>Formal syntax:  <code>{{csssyntax("mix-blend-mode")}}</code></code></pre>
<h3 id="Values" name="Values">Values</h3>
<dl>
 <dt>
  <code>&lt;blend-mode&gt;</code></dt>
 <dd>
  Is a {{Xref_cssblendmode()}} denoting the blending mode that should be applied. There can be several values, separated by commas.</dd>
</dl>
<h2 id="Examples" name="Examples">Examples</h2>
<pre class="brush:css">
</pre>
<h2 id="Specifications" name="Specifications">Specifications</h2>
<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Status</th>
   <th scope="col">Comment</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{ SpecName('Compositing', '#mix-blend-mode', 'mix-blend-mode') }}</td>
   <td>{{ Spec2('Compositing') }}</td>
   <td>Initial specification.</td>
  </tr>
 </tbody>
</table>
<h2 id="Browser_compatibility" name="Browser_compatibility">Browser compatibility</h2>
<p>{{CompatibilityTable()}}</p>
<div id="compat-desktop">
 <table class="compat-table">
  <tbody>
   <tr>
    <th>Feature</th>
    <th>Chrome</th>
    <th>Firefox (Gecko)</th>
    <th>Internet Explorer</th>
    <th>Opera</th>
    <th>Safari</th>
   </tr>
   <tr>
    <td>Basic support</td>
    <td>{{CompatUnknown()}}</td>
    <td>{{CompatGeckoDesktop('28.0')}}</td>
    <td>{{CompatUnknown()}}</td>
    <td>{{CompatUnknown()}}</td>
    <td>8.0{{ property_prefix('-webkit') }}</td>
   </tr>
  </tbody>
 </table>
</div>
<div id="compat-mobile">
 <table class="compat-table">
  <tbody>
   <tr>
    <th>Feature</th>
    <th>Android</th>
    <th>Firefox Mobile (Gecko)</th>
    <th>IE Mobile</th>
    <th>Opera Mobile</th>
    <th>Safari Mobile</th>
   </tr>
   <tr>
    <td>Basic support</td>
    <td>{{CompatUnknown()}}</td>
    <td>{{CompatUnknown()}}</td>
    <td>{{CompatUnknown()}}</td>
    <td>{{CompatUnknown()}}</td>
    <td>8.0{{ property_prefix('-webkit') }}</td>
   </tr>
  </tbody>
 </table>
</div>
<h2 id="See_also" name="See_also">See also</h2>
Revert to this revision