1.2.5.1 #Border - Style - error - invalid .ct-error-on-invalid
Sets the color theme of an element (color, background, border-color) on invalid.
Examples
Default styling
A div
.ct-error-on-invalid
Sets color, background, and border-color on invalid
A div
.cf-error-on-invalid
Sets color to var(--cf-error) on invalid
A div
.cb-error-on-invalid
Sets background to var(--cb-error) on invalid
A div
.ce-error-on-invalid
Sets border-color to var(--ce-error) on invalid
A div
Markup
<div class="bwa-1 pwa-1 [modifier class]">A div</div>
Source:
dist/standard/standard.css
, line 1072