Compare Revisions

:invalid

Change Revisions

Revision 294026:

Revision 294026 by teoli on

Revision 334489:

Revision 334489 by Inkbug on

Title:
:invalid
:invalid
Slug:
CSS/:invalid
CSS/:invalid
Tags:
"css", "NeedsMobileBrowserCompatibility", "CSS Reference", "CSS Référence", "Selectors"
"css", "NeedsMobileBrowserCompatibility", "CSS Reference", "Selectors"
Content:

Revision 294026
Revision 334489
tt49    </p>
50    <h2 name="Example">
51      Example
52    </h2>
53    <h3>
54      HTML Content
55    </h3>
56    <pre class="brush: html">
57&lt;form&gt;
58  &lt;label&gt;Enter a URL:&lt;/label&gt;
59  &lt;input type="url" /&gt;
60  &lt;br /&gt;
61  &lt;br /&gt;
62  &lt;label&gt;Enter an email address:&lt;/label&gt;
63  &lt;input type="email" required/&gt;
64&lt;/form&gt;
65</pre>
66    <h3>
67      CSS Content
68    </h3>
69    <pre class="brush: css">
70:invalid {
71  background-color: #ffdddd;
72}
73  
74:valid {
75  background-color: #ddffdd;
76}
77  
78:required {
79  border-color: #800000;
80  border-width: 3px;
81}
82</pre>
83    <p>
84      {{ EmbedLiveSample('Example') }}

Back to History