I want to add more padding to the select options
<label>Select:</label>
<select class="form-control " >
<option value="">No</option>
<option value="">Yes</option>
</select>
I want to add more padding to the select options
<label>Select:</label>
<select class="form-control " >
<option value="">No</option>
<option value="">Yes</option>
</select>
select{
padding: 5px 50px 5px 50px ;
}
<label>Select:</label>
<select class="form-control " >
<option value="">No</option>
<option value="">Yes</option>
</select>
maybe is this you asked
The padding property does not work on the option element in all browsers, and it is a limitation of CSS. If you require more advanced styling, you may need to consider using Select2 or any other library that has options to customize the select option.
if you need a Responsive form, Padding need to use percentage
.form-control{
padding: 1% 1%;
}