zoukankan      html  css  js  c++  java
  • 按钮组件.html

    <!DOCTYPE html>
    <html>
        <head>
            <meta charset="UTF-8">
            <title></title>
            <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
            <!--bootstrap要引入的文件:bootstrap.min.css,jquery.min.js,bootrap.min.js-->
            <link rel="stylesheet" type="text/css" href="css/bootstrap.css"/>
            <script src="js/jquery-1.11.0.js" type="text/javascript" charset="utf-8"></script>
            <!--要在bootstrap之前引入jquery,bootstrap依赖JQUERY,因为bootstrapJS里要使用$这个jquery变量-->
            <!--<script src="js/popper.js" type="text/javascript" charset="utf-8"></script>-->
            <!--如果你要用bootstrap使用一些提示性的交互,那么就需要引入提示性的框架popper.js,因为bootstrap的提示就是依赖popper-->
            <script src="js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
        </head>
        <body>
            <a class="btn btn-primary" href="#" role="button">Link</a>
            <button class="btn btn-primary" type="submit">Button</button>
            <input class="btn btn-primary" type="button" value="Input">
            <input class="btn btn-primary" type="submit" value="Submit">
            <input class="btn btn-primary" type="reset" value="Reset">
            
            
            <hr />
            <button type="button" class="btn btn-primary">Primary</button>
    <button type="button" class="btn btn-secondary">Secondary</button>
    <button type="button" class="btn btn-success">Success</button>
    <button type="button" class="btn btn-danger">Danger</button>
    <button type="button" class="btn btn-warning">Warning</button>
    <button type="button" class="btn btn-info">Info</button>
    <button type="button" class="btn btn-light">Light</button>
    <button type="button" class="btn btn-dark">Dark</button>
    
    <button type="button" class="btn btn-link">Link</button>
    
            <hr />
            <button type="button" class="btn btn-outline-primary">Primary</button>
    <button type="button" class="btn btn-outline-secondary">Secondary</button>
    <button type="button" class="btn btn-outline-success">Success</button>
    <button type="button" class="btn btn-outline-danger">Danger</button>
    <button type="button" class="btn btn-outline-warning">Warning</button>
    <button type="button" class="btn btn-outline-info">Info</button>
    <button type="button" class="btn btn-outline-light">Light</button>
    <button type="button" class="btn btn-outline-dark">Dark</button>
    
    
    <hr />
    <button type="button" class="btn btn-primary btn-lg">Large button</button>
    <button type="button" class="btn btn-secondary btn-lg">Large button</button>
    
    <hr />
    <button type="button" class="btn btn-primary btn-sm">Small button</button>
    <button type="button" class="btn btn-secondary btn-sm">Small button</button>
    
    
    <hr />
    <button type="button" class="btn btn-primary btn-lg btn-block">Block level button</button>
    <button type="button" class="btn btn-secondary btn-lg btn-block">Block level button</button>
    
    <hr />
    <button type="button" class="btn btn-primary btn-lg btn-block" disabled="disabled">Block level button</button>
    <a type="button" class="btn btn-secondary btn-lg btn-block disabled">Block level button</a>
    
    <hr />
    <button type="button" class="btn btn-primary" data-toggle="button" autocomplete="off">
      Single toggle
    </button>
    
    
    <hr />
    <div class="btn-group btn-group-toggle btn-group-vertical" data-toggle="buttons">
      <label class="btn btn-primary active" id="choose1">
        <input type="radio" name="options" id="option1" autocomplete="off" checked> Active
      </label>
      <label class="btn btn-danger">
        <input type="radio" name="options" id="option2" autocomplete="off"> Radio
      </label>
      <label class="btn btn-secondary" >
        <input type="radio" name="options" id="option3" autocomplete="off"> Radio
      </label>
    </div>
        </body>
    </html>
  • 相关阅读:
    cp备份操作时如何忽略指定的目录
    Wordpress“固定链接”页面出现404原因及解决方法
    CentOS7上搭建WEB服务器
    坑爹的云服务安全组
    java spring hibernate
    电脑性能
    android subclipse subversive
    android 开发 程序中下载安装APK文件 问题汇总 解析程序包时出现问题
    android sqlite datetime demo
    android SurfaceView中播放视频 按视频的原始比例播放
  • 原文地址:https://www.cnblogs.com/wwthuanyu/p/10554952.html
Copyright © 2011-2022 走看看