James Bailey
James Bailey

Reputation: 308

How can I reduce the width and height of a SELECT in bootstrap 3

How can I combine form-control and input-mini to get a SELECT that has a width of about 60px and a height of about 20px?

<select id="RoleSelect" class="form-control input-mini { width: 60px; }" runat="server">

I created a fiddle. https://jsfiddle.net/baileyjames9/c8be067k/2/

Upvotes: 1

Views: 829

Answers (1)

Pankaj
Pankaj

Reputation: 54

You can use style attribute for this, or define css for form-control input-mini in another file.

    .form-control.input-mini {
    width: 60px;
    height: 20px;
    }

Upvotes: 1

Related Questions