Answer the question
In order to leave comments, you need to log in
How to make a red star for input?
There is this form:
<form action="#">
<input type="text" name="name" placeholder="Имя">
<input type="text" name="num" placeholder="Номер телефона" required>
<input type="email" name="email" placeholder="E-mail" required>
<input type="text" name="goods" placeholder="Интересующий товар/услуга">
<textarea name="message" id="" cols="30" rows="9">Сообщение</textarea>
<span>
<input type="checkbox" name="check">Отправляя заявку Вы соглашаетесь с
политикой конфиденциальности
</span>
<button>ОТПРАВИТЬ<i class="fas fa-long-arrow-alt-right"></i></button>
</form>
Answer the question
In order to leave comments, you need to log in
Many variations:
1. Wrap the input in a label and style an asterisk through after for the label
2. Different masks, there are default ones, but you need to look for such plugins, not all masks have stars
3. Through the span after the input and position it so that it stood right in the field
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question