【发布时间】:2019-11-12 20:22:11
【问题描述】:
此代码(使用引导程序 4)使按钮变为全角。
如何使按钮恰好适合它所在的文本?我认为它需要放在一个列中?
<section class="call-to-action text-white text-center">
<div class="overlay"></div>
<div class="container">
<div class="row">
<div class="col-xl-12" style="text-align:center">
<h1>Bunch of text Bunch of text Bunch of text Bunch of text Bunch of text Bunch of text Bunch of text</h1>
<a href="#scrolltotop" class="btn btn-block btn-lg btn-danger" style="margin-top:40px";>Find Out Now!</a>
</div>
</div>
</div>
</section>
感谢您提供的所有帮助 - 我是 Bootsrap 4 的新手。
【问题讨论】:
标签: bootstrap-4