KSS Style Guide

1.2.6.1 #Border - Style - focus - focus, focus-within .ct-focus-on-focus-within

Toggle example guides Toggle HTML markup

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

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