/* for input with success */
<div class="form-group has-success">
<label class="form-control-label" for="inputSuccess1">Input with success</label>
<input type="text" class="form-control form-control-success" id="inputSuccess1">
<div class="form-control-feedback">Success! You've done it.</div>
<small class="form-text text-muted">Example help text that remains unchanged.</small>
</div>
/* for input with warning */
<div class="form-group has-warning">
<label class="form-control-label" for="inputWarning1">Input with warning</label>
<input type="text" class="form-control form-control-warning" id="inputWarning1">
<div class="form-control-feedback">Shucks, check the formatting of that and try again.</div>
<small class="form-text text-muted">Example help text that remains unchanged.</small>
</div>
/* for input with danger */
<div class="form-group has-danger">
<label class="form-control-label" for="inputDanger1">Input with danger</label>
<input type="text" class="form-control form-control-danger" id="inputDanger1">
<div class="form-control-feedback">Sorry, that username's taken. Try another?</div>
<small class="form-text text-muted">Example help text that remains unchanged.</small>
</div>
/* for checkbox */
<div class="form-group">
<div class="checkbox-color checkbox-primary">
<input id="checkbox1" type="checkbox" checked="checked">
<label for="checkbox1" class="text-primary">primary</label>
</div>
<div class="checkbox-color checkbox-success">
<input id="checkbox2" type="checkbox" checked="checked">
<label for="checkbox2" class="text-success">Success</label>
</div>
<div class="checkbox-color checkbox-danger">
<input id="checkbox3" type="checkbox" checked="checked">
<label for="checkbox3" class="text-danger">Danger</label>
</div>
</div>