0
我做的填充,但他沒有出現。我如何在select中添加填充?如何填充選擇BootStrap
select.custom{
padding: 30px!important;
-moz-appearance: none;
-webkit-appearance:none;
}
select.custom option{
padding: 30px!important;
-moz-appearance: none;
-webkit-appearance:none;
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
<div class="col-md-12">
<select class="form-control custom">
<option>AAAAAAAAAAAAAA</option>
</select>
</div>
Thans尋求幫助。 –