css - Bootstrap class not applied in HTML select tag -


getting puzzled why bootstrap class text-uppercase not working select options in html, whereas apart select option classes working fine.

here working demo text-uppercase :

http://plnkr.co/edit/dr8jpacodgzvw8w0zx2u?p=preview

<select class="form-control">     <option>one</option>     <option><span  class="text-uppercase">two</span></option> //class="text-uppercase" not working     <option class="text-uppercase"> three</option> //same here </select> 

am doing wrong ?

the class="text-uppercase" needs used option tag.

<select class="form-control">     <option>one</option>     <option class="text-uppercase"><span>two</span></option>     <option class="text-uppercase"> three</option> //same here </select> 

you had been using class="text-uppercase" <span> not <option>


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -