KSS Style Guide

2.21 #Child Width - px0 .vwc[mx,mn]-px0

Toggle example guides Toggle HTML markup

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

Examples
Default styling
A div
B div
.vwc-px0
Sets width of immediate children to px0
A div
B div
.vwcmn-px0
Sets min-width of immediate children to px0
A div
B div
.vwcmx-px0
Sets max-width of immediate children to px0
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/minimal/minimal.css, line 8034