Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

smaller & nicer select with bootstrap.css

Of course I know that SELECT form elements are hard to style and/or modify beyond the basics.

Just out of curiosity, does anyone know of a one-off bootstrap (the one from twitter) solution that would allow me to affect the size of the SELECT and perhaps even apply a gradient that looks more like a bootstrap button (than the scratchy surface they have now).

I don't mind noodling around with the CSS myself, but I thought I'd ask around before re-inventing the wheel.

Any pointers, links or suggestions would be greatly appreciated.

like image 933
Ace Avatar asked Apr 27 '12 03:04

Ace


People also ask

What word means smaller?

shrink. verb. to make something smaller in size.

What's another word for make smaller?

Some common synonyms of shrink are compress, condense, constrict, contract, and deflate.

What is the adjective of smaller?

adjective, small·er, small·est. of limited size; of comparatively restricted dimensions; not big; little: a small box. slender, thin, or narrow: a small waist.


2 Answers

You can use the jQuery plugin bootstrap-select:

https://developer.snapappointments.com/bootstrap-select/

It will turn your select into a bootstrap button dropdown

like image 50
silviomoreto Avatar answered Sep 23 '22 03:09

silviomoreto


A bit late but maybe this can help http://blog.iamjamoy.com/docs/select.html

or this http://ivaynberg.github.com/select2/

The first one doesn´t work on IE, if you can fix it please provide.

like image 37
alejandro Avatar answered Sep 24 '22 03:09

alejandro