Contentstack Styleguide

3.1 #Forms.Inputs and labels Inputs and labels

Toggle example guides Toggle HTML markup

To apply styles, add cs-text-box to <input> or <textarea> elements.

Example
Markup
<div class="cs-form-group">
    <label class="field-label">Name</label>
    <input type="text" class="cs-text-box w-100">
</div>
<div class="cs-form-group">
    <label class="field-label">Bio</label>
    <textarea class="cs-text-box w-100"></textarea>
</div>
Source: 3_Form/forms.less, line 9