Answers for "bootstrap required asterisk class"

CSS
0

bootstrap required asterisk class

//The CSS:

.form-group.required .control-label:after {
  content:"*";
  color:red;
}

//Then in your HTML:

<form>
  <div class="form-group required">
    <label class="control-label">Required Field</label>
    ...
  </div>
</form>
Posted by: Guest on June-09-2021

Code answers related to "bootstrap required asterisk class"

Browse Popular Code Answers by Language