KSS Style Guide

1.2.5 #Border - Style - error .ct-error

Toggle example guides Toggle HTML markup

Sets the color theme of an element (color, background, border-color).

Examples
Default styling
A div
.ct-error
Sets color, background, and border-color
A div
.cf-error
Sets color to var(--cf-error)
A div
.cb-error
Sets background to var(--cb-error)
A div
.ce-error
Sets border-color to var(--ce-error)
A div
Markup
<div class="bwa-1 pwa-1 [modifier class]">A div</div>
Source: dist/standard/standard.css, line 1051