菜单 学习猿地 - LMONKEY

VIP

开通学习猿地VIP

尊享10项VIP特权 持续新增

知识通关挑战

打卡带练!告别无效练习

接私单赚外块

VIP优先接,累计金额超百万

学习猿地私房课免费学

大厂实战课仅对VIP开放

你的一对一导师

每月可免费咨询大牛30次

领取更多软件工程师实用特权

入驻
378
0

吴裕雄 Bootstrap 前端框架开发——Bootstrap 字体图标(Glyphicons):glyphicon glyphicon-align-center

原创
05/13 14:22
阅读数 53418
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    </head>

    <body>
        <div class="container">
            <h2>Align-center Glyph</h2>
            <p>Align-center icon: <span class="glyphicon glyphicon-align-center"></span></p>    
            <p>Align-center icon as a link:
                <a href="#">
                    <span class="glyphicon glyphicon-align-center"></span>
                </a>
            </p>
            <p>Align-center icon on a button:
                <button type="button" class="btn btn-default btn-sm">
                    <span class="glyphicon glyphicon-align-center"></span> Align-center
                </button>
            </p>
            <p>Align-center icon on a styled link button:
                <a href="#" class="btn btn-info btn-lg">
                    <span class="glyphicon glyphicon-align-center"></span> Align-center
                </a>
            </p> 
        </div>

        <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
        <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    </body>

</html>

 

发表评论

0/200
378 点赞
0 评论
收藏