aboutsummaryrefslogtreecommitdiff
path: root/files/de/web/css/mask-origin/index.html
diff options
context:
space:
mode:
authorFlorian Merz <me@fiji-flo.de>2021-02-11 14:45:38 +0100
committerFlorian Merz <me@fiji-flo.de>2021-02-11 14:45:38 +0100
commit4ab365b110f2f1f2b736326b7059244a32115089 (patch)
treec3c7c0219f728ade49a78c238c51cc0c8d06ebd6 /files/de/web/css/mask-origin/index.html
parent8260a606c143e6b55a467edf017a56bdcd6cba7e (diff)
downloadtranslated-content-4ab365b110f2f1f2b736326b7059244a32115089.tar.gz
translated-content-4ab365b110f2f1f2b736326b7059244a32115089.tar.bz2
translated-content-4ab365b110f2f1f2b736326b7059244a32115089.zip
unslug de: move
Diffstat (limited to 'files/de/web/css/mask-origin/index.html')
-rw-r--r--files/de/web/css/mask-origin/index.html101
1 files changed, 101 insertions, 0 deletions
diff --git a/files/de/web/css/mask-origin/index.html b/files/de/web/css/mask-origin/index.html
new file mode 100644
index 0000000000..7cba7cd7fc
--- /dev/null
+++ b/files/de/web/css/mask-origin/index.html
@@ -0,0 +1,101 @@
+---
+title: '-webkit-mask-origin'
+slug: Web/CSS/-webkit-mask-origin
+tags:
+ - CSS
+ - Referenz
+translation_of: Web/CSS/mask-origin
+translation_of_original: Web/CSS/-webkit-mask-origin
+---
+<div>{{CSSRef}}{{Non-standard_header}}</div>
+
+<p>Die <code>-webkit-mask-origin</code> <a href="/de/docs/Web/CSS">CSS</a> Eigenschaft bestimmt den Ursprungspunkt des Maskenbildes. Der Wert der {{cssxref("-webkit-mask-position")}} Eigenschaft wird relativ zum Wert dieser Eigenschaft interpretiert. Diese Eigenschaft wird nicht angewendet, wenn <code>-webkit-mask-attachment</code> <code>fixed</code> ist.</p>
+
+<p>{{cssinfo}}</p>
+
+<h2 id="Syntax">Syntax</h2>
+
+<pre class="syntaxbox">{{csssyntax}}</pre>
+
+<h2 id="Werte">Werte</h2>
+
+<dl>
+ <dt>padding</dt>
+ <dd>Standardwert. Die Position des Maskenbildes ist relativ zum Innenabstand. (Für einzelne Boxen ist <code>"0 0</code>" die linke obere Ecke des Randes des Innenabstands, "<code>100% 100%</code>" ist die untere rechte Ecke.)</dd>
+ <dt>border</dt>
+ <dd>Die Position des Maskenbildes ist relativ zum Rand.</dd>
+ <dt>content</dt>
+ <dd>Das Maskenbild ist relativ zum Inhalt.</dd>
+</dl>
+
+<h2 id="Beispiele">Beispiele</h2>
+
+<pre class="brush: css">.example {
+ border: 10px double;
+ padding: 10px;
+ -webkit-mask-image: url('mask.png');
+
+ /* Das Maskenbild ist innerhalb des Innenabstands. */
+ -webkit-mask-origin: content;
+}
+</pre>
+
+<pre class="brush: css">div {
+ -webkit-mask-image: url('mask1.png'), url('mask2.png');
+ -webkit-mask-origin: padding, content;
+}
+</pre>
+
+<h2 id="Browser_Kompatibilität">Browser Kompatibilität</h2>
+
+<p>{{CompatibilityTable}}</p>
+
+<div id="compat-desktop">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Merkmal</th>
+ <th>Chrome</th>
+ <th>Firefox (Gecko)</th>
+ <th>Internet Explorer</th>
+ <th>Opera</th>
+ <th>Safari (WebKit)</th>
+ </tr>
+ <tr>
+ <td>Grundlegende Unterstützung</td>
+ <td>1.0</td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatNo}}</td>
+ <td>4.0</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<div id="compat-mobile">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Merkmal</th>
+ <th>Android</th>
+ <th>Firefox Mobile (Gecko)</th>
+ <th>IE Phone</th>
+ <th>Opera Mobile</th>
+ <th>Safari Mobile</th>
+ </tr>
+ <tr>
+ <td>Grundlegende Unterstützung</td>
+ <td>2.1</td>
+ <td>{{CompatUnknown}}</td>
+ <td>{{CompatUnknown}}</td>
+ <td>{{CompatUnknown}}</td>
+ <td>3.2</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<h2 id="Siehe_auch">Siehe auch</h2>
+
+<p>{{cssxref("-webkit-mask")}}, {{cssxref("-webkit-mask-box-image")}}, {{cssxref("-webkit-mask-attachment")}}, {{cssxref("-webkit-mask-image")}},{{cssxref("-webkit-mask-composite")}}, {{cssxref("-webkit-mask-repeat")}}, {{cssxref("-webkit-mask-clip")}}</p>