源代码:
提交运行 »
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="http://www.fmpq.com/jscss/bootstrap/bootstrap.min.css"> </head> <body> <div class="container"> <h2>Zoom-out Glyph</h2> <p>Zoom-out icon: <span class="glyphicon glyphicon-zoom-out"></span></p> <p>Zoom-out icon as a link: <a href="#"> <span class="glyphicon glyphicon-zoom-out"></span> </a> </p> <p>Zoom-out icon on a button: <button type="button" class="btn btn-default btn-sm"> <span class="glyphicon glyphicon-zoom-out"></span> Zoom-out </button> </p> <p>Zoom-out icon on a styled link button: <a href="#" class="btn btn-info btn-lg"> <span class="glyphicon glyphicon-zoom-out"></span> Zoom-out </a> </p> </div> <script src="http://www.fmpq.com/jscss/bootstrap/jquery.min.js"></script> <script src="http://www.fmpq.com/jscss/bootstrap/bootstrap.min.js"></script> </body> </html>
测试结果: