Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 667 Bytes

migrate-to-10.x.md

File metadata and controls

30 lines (22 loc) · 667 Bytes

HTML

No structural changes, however, the label now has a new CSS class.

Vanilla markup should be migrated to one shown in carbondesignsystem.com site. React and other framework variants should reflect the change automatically.

New Markup:

<div class="bx--form-item">
  <strong class="bx--file--label">Account photo</strong> ...
</div>

Old Markup:

<div class="bx--form-item">
  <strong class="bx--label">Account photo</strong> ...
</div>

SCSS

v9 v10 Note
- bx--file—label ✨New