css - Bootstrap add padding to select option -
i wondering if it's possible add padding select options in select dropdowns in twitter boostrap framework. i've added padding other inputs padding on select options out of line. expect like...
option { padding: 0 24px; } ... trick nothing bootstrap select option.
any appreciated.
edit:
here's jsfiddle:
assuming you're using bootstrap form-control, first option displayed take on style of form-control css class. you'd need override form-control too.
option { padding: 0 24px; } select.form-control { padding: 0 24px; }
Comments
Post a Comment