2013-07-14 78 views
37

我正在学习html,css和twitter bootstrap。如何使twitter引导按钮更大?

<div id="button" style=" position:absolute;top:450px; left:350px;"> 
     <p> 
     <a href="https://docs.google.com/forms/d/1Exo4u2iRpChj- 
      Wg9K5HxteMeoVE1uee0fQKBWiuYYiw/viewform?pli=1" class="btn btn-primary btn- 
      large">Search 
     </a> 
    </p> 
    </div> 

我想增加这个按钮的字体大小,从而使它变大。有人可以帮我解决这个问题吗?

谢谢!

+0

字体大小:(量)? – Thew

回答

51

这里是开箱即用的尺寸bootstrap优惠。

.btn-large 
.btn-small 
.btn-mini 

阅读更多关于它here

它的下Button sizes

编辑:

,或者你可以使自己:

.btn-xlarge { 
    padding: 18px 28px; 
    font-size: 22px; //change this to your desired size 
    line-height: normal; 
    -webkit-border-radius: 8px; 
     -moz-border-radius: 8px; 
      border-radius: 8px; 
} 

源位于here