aboutsummaryrefslogtreecommitdiff
path: root/files/de/web/css/_colon_required
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:41:15 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:41:15 -0500
commit4b1a9203c547c019fc5398082ae19a3f3d4c3efe (patch)
treed4a40e13ceeb9f85479605110a76e7a4d5f3b56b /files/de/web/css/_colon_required
parent33058f2b292b3a581333bdfb21b8f671898c5060 (diff)
downloadtranslated-content-4b1a9203c547c019fc5398082ae19a3f3d4c3efe.tar.gz
translated-content-4b1a9203c547c019fc5398082ae19a3f3d4c3efe.tar.bz2
translated-content-4b1a9203c547c019fc5398082ae19a3f3d4c3efe.zip
initial commit
Diffstat (limited to 'files/de/web/css/_colon_required')
-rw-r--r--files/de/web/css/_colon_required/index.html67
1 files changed, 67 insertions, 0 deletions
diff --git a/files/de/web/css/_colon_required/index.html b/files/de/web/css/_colon_required/index.html
new file mode 100644
index 0000000000..769f925180
--- /dev/null
+++ b/files/de/web/css/_colon_required/index.html
@@ -0,0 +1,67 @@
+---
+title: ':required'
+slug: 'Web/CSS/:required'
+tags:
+ - CSS
+ - CSS Pseudoklasse
+ - Layout
+ - NeedsMobileBrowserCompatibility
+ - Referenz
+ - Web
+translation_of: 'Web/CSS/:required'
+---
+<div>{{CSSRef}}</div>
+
+<h2 id="Übersicht">Übersicht</h2>
+
+<p>Die <code>:required</code> CSS <a href="/de/docs/Web/CSS/Pseudo-classes" title="Pseudo-classes">Pseudoklasse</a> repräsentiert jedes {{HTMLElement("input")}} Element, welches das Attribut {{htmlattrxref("required", "input")}} beinhaltet. So kann das Aussehen von Pflichtfeldern einfach angepasst werden.</p>
+
+<p>Die {{cssxref(":optional")}} Pseudoklasse hingegen kann für die Darstellung von Nicht-Pflichtfeldern verwendet werden.</p>
+
+<h2 id="Beispiele">Beispiele</h2>
+
+<p>Siehe {{cssxref(":invalid")}}.</p>
+
+<h2 id="Spezifikationen">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('HTML WHATWG', '#selector-required', ':required')}}</td>
+ <td>{{Spec2('HTML WHATWG')}}</td>
+ <td>Keine Änderung</td>
+ </tr>
+ <tr>
+ <td>{{SpecName('HTML5 W3C', '#selector-required', ':required')}}</td>
+ <td>{{Spec2('HTML5 W3C')}}</td>
+ <td>Definiert die Semantik bezüglich HTML und Beschränkungsvalidierung</td>
+ </tr>
+ <tr>
+ <td>{{SpecName('CSS4 Selectors', '#opt-pseudos', ':required')}}</td>
+ <td>{{Spec2('CSS4 Selectors')}}</td>
+ <td>Keine Änderung</td>
+ </tr>
+ <tr>
+ <td>{{SpecName('CSS3 Basic UI', '#pseudo-required-value', ':required')}}</td>
+ <td>{{Spec2('CSS3 Basic UI')}}</td>
+ <td>Definiert die Pseudoklasse, aber nicht die zugehörige Semantik</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Browser_Kompatibilität">Browser Kompatibilität</h2>
+
+{{Compat("css.selectors.required")}}
+
+<h2 id="Siehe_auch">Siehe auch</h2>
+
+<ul>
+ <li>{{cssxref(":optional")}}, {{cssxref(":invalid")}}, {{cssxref(":valid")}}</li>
+</ul>