微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

<!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>Indent-right Glyph</h2>
            <p>Indent-right icon: <span class="glyphicon glyphicon-indent-right"></span></p>    
            <p>Indent-right icon as a link:
                <a href="#">
                    <span class="glyphicon glyphicon-indent-right"></span>
                </a>
            </p>
            <p>Indent-right icon on a button:
                <button type="button" class="btn btn-default btn-sm">
                    <span class="glyphicon glyphicon-indent-right"></span> Indent-right
                </button>
            </p>
            <p>Indent-right icon on a styled link button:
                <a href="#" class="btn btn-info btn-lg">
                    <span class="glyphicon glyphicon-indent-right"></span> Indent-right
                </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>

 

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐