源代码:
提交运行 »
<!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>Earphone Glyph</h2> <p>Earphone icon: <span class="glyphicon glyphicon-earphone"></span></p> <p>Earphone icon as a link: <a href="#"> <span class="glyphicon glyphicon-earphone"></span> </a> </p> <p>Earphone icon on a button: <button type="button" class="btn btn-default btn-sm"> <span class="glyphicon glyphicon-earphone"></span> Earphone </button> </p> <p>Earphone icon on a styled link button: <a href="#" class="btn btn-info btn-lg"> <span class="glyphicon glyphicon-earphone"></span> Earphone </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>
测试结果: