Has*_*Has 46 html css twitter-bootstrap
我正在学习html,css和twitter bootstrap.
  <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>
我想增加这个按钮的字体大小,从而使它更大.有人可以帮我这个吗?
谢谢!
Agu*_*tin 73
这在Bootstrap 3中已经改变了.
现在它是.btn-lg,.btn-sm或.btn-xs
http://getbootstrap.com/css/#buttons-sizes
ZZP*_*LKF 61
这里是开箱即用提供的尺寸.
.btn-large
.btn-small
.btn-mini
在这里阅读更多相关信息
它在 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;
}
来源位于这里
在Bootstrap 4中再次改变了这一点。
现在只有.btn-lg和.btn-sm 
https://getbootstrap.com/docs/4.0/components/buttons/#sizes