【发布时间】:2018-06-06 21:35:38
【问题描述】:
我正在使用引导程序,并且有几个社交媒体按钮。我需要它们更大,并且我已经使社交图标足够大,但我似乎无法让文本同样增加。有人有想法么? HTML:
<a role="button" class="btn btn-primary btn-tw col-6 mx-1 my-1"
href="https://twitter.com/alvanhumane?lang=en" target="_blank"><i class="fab
fa-twitter-square fa-5x"></i> Twitter</a>
<a role="button" class="btn btn-primary btn-in col-6 mx-1 my-1"
href="https://www.instagram.com/explore/locations/99236675/al-van-humane-
society/" target="_blank"><i class="fab fa-instagram fa-5x"></i>
Instagram</a>
和 CSS:
a.btn-tw {
background-color: #00acee;
font-size: 5em;
}
a.btn-in {
background-color: #3f729b;
font-size: 5em;
}
【问题讨论】:
标签: html css twitter-bootstrap-3