html – 在引导按钮中自定义文本大小

html – 在引导按钮中自定义文本大小,第1张

概述我正在尝试使用twitter bootstrap创建一个“从App Store下载”按钮. 我所遇到的问题是试图使“App Store”文本大于“从…上方下载”文本. 这是我正在使用的HTML和CSS. .fixed-hero .hero-text { padding-top: 90px; width: 65%; color:#fff; font-family: C 我正在尝试使用twitter bootstrap创建一个“从App Store下载”按钮.

我所遇到的问题是试图使“App Store”文本大于“从…上方下载”文本.

这是我正在使用的HTML和CSS.

.fixed-hero .hero-text {    padding-top: 90px;    wIDth: 65%;    color:#fff;    Font-family: Century Gothic,sans-serif;    Font-size: 2.2em;    line-height: 1.5em;  }.fixed-hero .hero-button {    padding-top: 60px;    wIDth: 65%;}.btn.btn-large.btn-danger{    border-style:solID;    border-wIDth:1px;    border-color:#fff;    background-image: linear-gradIEnt(to bottom,rgb(204,81,81),#990000);    text-align: left;}    <div >            <a href="#" >                <i ></i>                <div>                Download from the                App Store                </div>            </a>    </div>

感谢您的反馈和专业知识.

解决方法 包装文本并缩小它的Font-size:更小或任何你喜欢的大小.
<div >        <a href="#" >            <i ></i>                <span >Download from the</span>            App Store        </a></div>
总结

以上是内存溢出为你收集整理的html – 在引导按钮中自定义文本大小全部内容,希望文章能够帮你解决html – 在引导按钮中自定义文本大小所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1094490.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-28
下一篇2022-05-28

发表评论

登录后才能评论

评论列表(0条)

    保存