2013-07-14 73 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