I want to know if there is any way to add asterisk after first option of select element?
Here is my html
<select class="form-control textyformcontrol">
<option selected>Service area</option>
<option>First Option</option>
<option>Second Option</option>
<option>Third Option</option>
</select>
Here is css
.textyformcontrol {
outline: none !important;
box-shadow: none !important;
border: none !important;
border-bottom: 1px solid #fff !important;
background: transparent;
border-radius: 0px;
color: #fff;
font-size: 16px;
padding: 10px 0px;
word-spacing: 2px;
height: auto;
}
All the options are having default white color.Thus how to add asterisk in red color through css?
between the asterisk and create a class inside the p where in the text are color red.
– Earvin Nill Castillo Mar 03 '17 at 06:32*
– Earvin Nill Castillo Mar 03 '17 at 06:33?
– Earvin Nill Castillo Mar 03 '17 at 06:36