diff options
Diffstat (limited to 'files/de/web/css/border-top-left-radius/index.html')
| -rw-r--r-- | files/de/web/css/border-top-left-radius/index.html | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/files/de/web/css/border-top-left-radius/index.html b/files/de/web/css/border-top-left-radius/index.html new file mode 100644 index 0000000000..9c3408d8a5 --- /dev/null +++ b/files/de/web/css/border-top-left-radius/index.html @@ -0,0 +1,91 @@ +--- +title: border-top-left-radius +slug: Web/CSS/border-top-left-radius +tags: + - CSS + - CSS Referenz +translation_of: Web/CSS/border-top-left-radius +--- +<p>{{ CSSRef }}</p> + +<h2 id="Übersicht">Übersicht</h2> + +<p>Die <code>border-top-left-radius</code> Eigenschaft die Abrundung der oberen, linken Ecke eines Elements fest.</p> + +<p>Vor Gecko 2.0 (Firefox 4.0) war diese Eigenschaft als <code>-moz-border-radius-topleft</code> bekannt. Diese Eigenschaft wird weiterhin übergangsweise unterstützt.</p> + +<p>Weitere Informationen sind unter <a href="/de/CSS/border-radius" title="de/CSS/border-radius"><code>border-radius</code></a> verfügbar.</p> + +<p>{{cssinfo("border-top-left-radius")}}</p> + +<h2 id="Syntax">Syntax</h2> + +<pre class="eval"><a href="https://developer.mozilla.org/en-US/docs/CSS/Value_definition_syntax" title="/en-US/docs/CSS/Value_definition_syntax">Formal syntax</a>: {{csssyntax("border-top-left-radius")}} +-moz-border-radius-topleft: [ <Länge> | <Prozentzahl> ] [ <Länge> | <Prozentzahl> ]? + border-top-left-radius:[ <Länge> | <Prozentzahl> ] [ <Länge> | <Prozentzahl> ]? +</pre> + +<h2 id="Werte">Werte</h2> + +<p>Seit Gecko 1.9.1 (Firefox 3.5) wird ein zweiter, optionaler Wert unterstützt, welcher Längenwerte für elliptische Ecken akzeptiert. Es gibt zwei Werte, die die Form der Ecke beschreiben: Der erste Wert ist der horizontale, der zweite Wert der vertikale Radius. Wird nur ein Wert angegeben, gilt dieser für beide Richtungen (horizontal und vertikal).</p> + +<dl> + <dt><Länge></dt> + <dd>Siehe <a href="/de/CSS/Einheiten#L.c3.a4ngen" title="de/CSS/Einheiten#L.c3.a4ngen">Längen</a> für mögliche Einheiten.</dd> + <dt><Prozentzahl></dt> + <dd>In Gecko 2.0 (Firefox 4.0):<br> + Prozentuale Angaben für den horizontalen Radius beziehen sich auf die Breite der Box. Die Prozentzahl für den vertikalen Radius ist allerdings relativ zur Höhe der Box.<br> + In vorherigen Gecko- & Firefox-Versionen:<br> + {{ non-standard_inline() }} Eine prozentuale Angabe, die sich auf die Breite der Box bezieht. Die Prozentzahl ist selbst dann relativ zur Breite, wenn ein Radius für die Höhe festgelegt wird.</dd> +</dl> + +<h2 id="Beispiele">Beispiele</h2> + +<pre>div { -moz-border-radius-topleft: 20px; /* Firefox bis Version 3.6 */ + -webkit-border-top-left-radius: 20px; /* Safari, Chrome (vor WebKit Version 533) */ + border-top-left-radius: 20px; /* Firefox 4; Browser mit CSS3 Unterstützung */ +} +</pre> + +<pre>/* Elliptische Ecke (unterstützt seit Firefox 3.5 [Gecko 1.9.1]) */ + +div { -moz-border-radius-topleft: 20px; /* Runde Ecke, Fallback für Firefox 1-3.0 */ + -moz-border-radius-topleft: 20px 10px; /* elliptischer Rahmen für Firefox 3.5-3.6 */ + -webkit-border-top-left-radius: 20px 10px; /* Safari, Chrome (vor WebKit Version 532.5) */ + border-top-left-radius: 20px 10px; /* Firefox 4; Browser mit CSS3 Unterstützung */ +} +</pre> + + +<h2 id="Spezifikation">Spezifikation</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('CSS3 Backgrounds', '#border-top-left-radius', 'border-top-left-radius')}}</td> + <td>{{Spec2('CSS3 Backgrounds')}}</td> + <td>Initial definition</td> + </tr> + </tbody> +</table> + +<p>{{cssinfo}}</p> + +<h2 id="Browser_Kompatibilität">Browser Kompatibilität</h2> + +<p>{{Compat("css.properties.border-top-left-radius")}}</p> + +<h2 id="Siehe_auch">Siehe auch</h2> + +<ul> + <li><a href="/de/CSS/border-radius" title="de/CSS/border-radius"><code>border-radius</code></a></li> +</ul> + +<p>{{ languages( { "en": "en/CSS/border-top-left-radius", "fr": "fr/CSS/border-top-left-radius", "ja": "ja/CSS/border-top-left-radius", "pl": "pl/CSS/-moz-border-radius-topleft" } ) }}</p> |
