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:

http://jsfiddle.net/sbmw3egx/

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; } 

demo: http://bootply.com/dcjm6i7z5v


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -