KSS Style Guide

2.5.3 #Child Width - ch4 - sm .vwc[mn,mx]-sm-ch4

Toggle example guides Toggle HTML markup

Sets the width, max-width, or min-width of an elements immediate children to css var for ch4 on sm.

Examples
Default styling
A div
B div
.vwc-sm-ch4
Sets width of immediate children to ch4 on sm
A div
B div
.vwcmn-sm-ch4
Sets min-width of immediate children to ch4 on sm
A div
B div
.vwcmx-sm-ch4
Sets max-width of immediate children to ch4 on sm
A div
B div
Markup
<div class="bwa-1 [modifier class]"><div class="bwa-1">A div</div><div class="bwa-1">B div</div></div>
Source: dist/full/full.css, line 23547