美文网首页HTML/CSS/JavaScript
H5笔记(bootstrap)

H5笔记(bootstrap)

作者: 阿凡提说AI | 来源:发表于2017-07-16 13:30 被阅读8次
    <!DOCTYPE html>
    <html>
    <head lang="en">
        <meta charset="UTF-8">
        <title></title>
        <link href="bootstrap/css/bootstrap.css" rel="stylesheet">
    </head>
    <body>
       <button class="btn btn-success">百度一下</button>
       <button class="btn btn-warning">百度一下</button>
       <button class="btn btn-danger">百度一下</button>
    
       <div class="panel panel-danger">
           <div class="panel-heading">
               出大事了
           </div>
           <div class="panel panel-body">
               我不小心摔倒了!!!
           </div>
       </div>
    
       <i class="badge" style="background-color: red; width: 50px; height: 100px;">32</i>
    
    
       <div class="progress">
           <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
               <span class="sr-only">60% Complete</span>
           </div>
       </div>
    
       <div class="progress">
           <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
               <span class="sr-only">40% Complete (success)</span>
           </div>
       </div>
       <div class="progress">
           <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%">
               <span class="sr-only">20% Complete</span>
           </div>
       </div>
       <div class="progress">
           <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%">
               <span class="sr-only">60% Complete (warning)</span>
           </div>
       </div>
       <div class="progress">
           <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%">
               <span class="sr-only">80% Complete (danger)</span>
           </div>
       </div>
    
       <div class="progress">
           <div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style="width: 45%">
               <span class="sr-only">45% Complete</span>
           </div>
       </div>
    
       <div class="glyphicon glyphicon-asterisk" style="font-size: 220px; color: red"></div>
       <div class="glyphicon glyphicon-music"  style="font-size: 220px; color: red"></div>
    </body>
    </html>
    

    相关文章

      网友评论

        本文标题:H5笔记(bootstrap)

        本文链接:https://www.haomeiwen.com/subject/igvtkxtx.html