运行结果尺寸: 300 x 150
x
 
<!DOCTYPE html>
<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="https://ajax.aspnetcdn.com/ajax/bootstrap/3.4.0/css/bootstrap.min.css">
    <script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.5.1.min.js"></script>
    <script src="https://ajax.aspnetcdn.com/ajax/bootstrap/3.4.0/bootstrap.min.js"></script>
  </head>
  <body>
    <div class="container">
      <h2>折叠字形</h2>
       <p>折叠图标:<span class="glyphicon glyphicon-collapse-up"></span></p>
       <p>作为链接的折叠图标:
         <a href="#">
           <span class="glyphicon glyphicon-collapse-up"></span>
         </a>
       </p>
       <p>按钮上的折叠图标:
         <button type="button" class="btn btn-default btn-sm">
           <span class="glyphicon glyphicon-collapse-up"></span> 折叠
         </button>
       </p>
       <p>样式链接按钮上的折叠图标:
         <a href="#" class="btn btn-info btn-lg">
           <span class="glyphicon glyphicon-collapse-up"></span> 折叠
        </a>
      </p> 
    </div>
  </body>
</html>
×

报个问题: