css add required asterisk after

47

<label class="required">Name:</label>
<input type="text">

<style>
  .required:after {
    content:" *";
    color: red;
  }
</style>

Comments

Submit
0 Comments