首页 > 代码库 > 开发bootstrap的Icon图表的事例

开发bootstrap的Icon图表的事例

<html lang="en">
<head>
    <title>图标</title>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width,initial-scale=1" />
    <script src=http://www.mamicode.com/"../file/jquery.js" type="text/javascript"></script>
    <link href=http://www.mamicode.com/"../book/css/bootstrap.css" rel="stylesheet" type="text/css" />
    <script src=http://www.mamicode.com/"../book/js/bootstrap.js" type="text/javascript"></script>
</head>
<body>
  <div class="btn-toolbar">
     <div class="btn-group">
       <a class="btn btn-default" href=http://www.mamicode.com/"#">
         <span class="glyphicon glyphicon-align-left"></span>
       </a>
       <a class="btn btn-default" href=http://www.mamicode.com/"#">
         <span class="glyphicon glyphicon-align-center"></span>
       </a>
       <a class="btn btn-default" href=http://www.mamicode.com/"#">
         <span class="glyphicon glyphicon-align-right"></span>
       </a>
       <a class="btn btn-default" href=http://www.mamicode.com/"#">
         <span class="glyphicon glyphicon-align-justify"></span>
       </a>
     </div>
  </div>
  <div class="btn-group" style="margin-top:100px">
     <a class="btn btn-default btn-primary" href=http://www.mamicode.com/"#">
       <span class="glyphicon glyphicon-user"></span>User
     </a>
     <a class="btn btn-default btn-primary dropdown-toggle" data-toggle="dropdown" href=http://www.mamicode.com/"#">
      <span class="caret"></span>
     </a>
     <ul class="dropdown-menu">
        <li><a href=http://www.mamicode.com/"#">Edit
        <li><a href=http://www.mamicode.com/"#">Delete
        <li><a href=http://www.mamicode.com/"#">Bar
        <li class="divider"></li>
     </ul>
  </div>
</body>
</html>

 

显示效果:

 


开发bootstrap的Icon图表的事例