Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Decrease Twitter Bootstrap input field's height?

In my form I would like to decrease my Input field's height.

I know there are input-small, input-medium classes which control input field's width, but is there any thing similar for controlling height?

I couldn't find any and if there isn't how do I go about overriding the defaults?

like image 525
Shakeeb Ahmad Avatar asked Dec 06 '12 23:12

Shakeeb Ahmad


1 Answers

I couldn't find any and if there isn't how do I go about overriding the defaults?

Bootstrap's input field height is defined using attribute selectors e.g. input[type="text"], input[type="password"]

You can override it with your styles in the same selector format, or uses classes and such.

.mystyle input[type="text"] {    height: 14px;    font-size: 10px;    line-height: 14px; } 
like image 115
Francis Nepomuceno Avatar answered Oct 04 '22 14:10

Francis Nepomuceno