aboutsummaryrefslogtreecommitdiff
path: root/files/de/web/css/mix-blend-mode/index.html
blob: 59efbddadd7acf6f11bd6a5bbe4db7c10fc02540 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
---
title: mix-blend-mode
slug: Web/CSS/mix-blend-mode
tags:
  - CSS
  - CSS Compositing
  - CSS Eigenschaft
translation_of: Web/CSS/mix-blend-mode
---
<p>{{CSSRef()}}</p>

<h2 id="Summary" name="Summary">Übersicht</h2>

<p>Die <code>mix-blend-mode</code> CSS Eigenschaft beschreibt, wie sich der Inhalt des Elements mit dem Inhalt des Elements unter ihm und dem Element-Hintergrund vermischen soll.</p>

<p>{{cssinfo}}</p>

<h2 id="Syntax" name="Syntax">Syntax</h2>

<pre class="brush:css">/* Keyword values */
mix-blend-mode: normal;
mix-blend-mode: multiply;
mix-blend-mode: screen;
mix-blend-mode: overlay;
mix-blend-mode: darken;
mix-blend-mode: lighten;
mix-blend-mode: color-dodge;
mix-blend-mode: color-burn;
mix-blend-mode: hard-light;
mix-blend-mode: soft-light;
mix-blend-mode: difference;
mix-blend-mode: exclusion;
mix-blend-mode: hue;
mix-blend-mode: saturation;
mix-blend-mode: color;
mix-blend-mode: luminosity;

/* Global values */
mix-blend-mode: initial;
mix-blend-mode: inherit;
mix-blend-mode: unset;
</pre>

<h3 id="Values" name="Values">Werte</h3>

<dl>
 <dt><code>&lt;blend-mode&gt;</code></dt>
 <dd>Ein {{cssxref("&lt;blend-mode&gt;")}} der den zu verwendenden Mischmodus festlegt. Mehrere Werte können per Komma getrennt angegeben werden.</dd>
</dl>

<h3 id="Formale_Syntax">Formale Syntax</h3>

<pre class="syntaxbox">{{csssyntax}}</pre>

<h2 id="Examples" name="Examples">Beispiele</h2>

<pre class="brush: html">&lt;svg&gt;
  &lt;circle cx="40" cy="40" r="40" fill="red"/&gt;
  &lt;circle cx="80" cy="40" r="40" fill="lightgreen"/&gt;
  &lt;circle cx="60" cy="80" r="40" fill="blue"/&gt;
&lt;/svg&gt;</pre>

<pre class="brush:css">circle { mix-blend-mode: screen; }</pre>

<h3 id="Result">Result</h3>

<p>{{EmbedLiveSample("Examples", "100%", "180")}}</p>

<h2 id="Specifications" name="Specifications">Spezifikationen</h2>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">Spezifikation</th>
   <th scope="col">Status</th>
   <th scope="col">Kommentar</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 Unterstützung</h2>

{{Compat("css.properties.mix-blend-mode")}}

<h2 id="See_also" name="See_also">Siehe auch</h2>

<ul>
 <li>{{cssxref("&lt;blend-mode&gt;")}}</li>
 <li>{{cssxref("background-blend-mode")}}</li>
</ul>