zoukankan      html  css  js  c++  java
  • Bootstrap 按钮

    @{
        Layout = null;
    }


    <!DOCTYPE html>


    <html>
    <head>
        <meta name="viewport" content="width=device-width" />
        <title>View1</title>
        <link href="~/Bootstrap3.3.7/css/bootstrap.min.css" rel="stylesheet" />
        <script src="~/jquery3.3.1/jquery-3.3.1.min.js"></script>
        <script src="~/Bootstrap3.3.7/js/bootstrap.min.js"></script>
    </head>
    <body>


        <!-- Standard button -->
        <button type="button" class="btn btn-default">(默认样式)Default</button>


        <!-- Provides extra visual weight and identifies the primary action in a set of buttons -->
        <button type="button" class="btn btn-primary">(首选项)Primary</button>


        <!-- Indicates a successful or positive action -->
        <button type="button" class="btn btn-success">(成功)Success</button>


        <!-- Contextual button for informational alert messages -->
        <button type="button" class="btn btn-info">(一般信息)Info</button>


        <!-- Indicates caution should be taken with this action -->
        <button type="button" class="btn btn-warning">(警告)Warning</button>


        <!-- Indicates a dangerous or potentially negative action -->
        <button type="button" class="btn btn-danger">(危险)Danger</button>


        <!-- Deemphasize a button by making it look like a link while maintaining button behavior -->
        <button type="button" class="btn btn-link">(链接)Link</button>


        <p>
            <button type="button" class="btn btn-primary btn-lg">(大按钮)Large button</button>
            <button type="button" class="btn btn-default btn-lg">(大按钮)Large button</button>
        </p>
        <p>
            <button type="button" class="btn btn-primary">(默认尺寸)Default button</button>
            <button type="button" class="btn btn-default">(默认尺寸)Default button</button>
        </p>
        <p>
            <button type="button" class="btn btn-primary btn-sm">(小按钮)Small button</button>
            <button type="button" class="btn btn-default btn-sm">(小按钮)Small button</button>
        </p>
        <p>
            <button type="button" class="btn btn-primary btn-xs">(超小尺寸)Extra small button</button>
            <button type="button" class="btn btn-default btn-xs">(超小尺寸)Extra small button</button>
        </p>


        <button type="button" class="btn btn-primary btn-lg active">Primary button</button>
        <button type="button" class="btn btn-default btn-lg active">Button</button>


        <button type="button" class="btn btn-lg btn-primary" disabled="disabled">Primary button</button>
        <button type="button" class="btn btn-default btn-lg" disabled="disabled">Button</button>


        <a href="#" class="btn btn-primary btn-lg disabled" role="button">Primary link</a>
        <a href="#" class="btn btn-default btn-lg disabled" role="button">Link</a>


    </body>
    </html>
  • 相关阅读:
    解决IntelliJ IDEA 创建Maven项目速度慢问题 DarchetypeCatalog
    加快项目创建 -DarchetypeCatalog=internal
    AKS (3) 在AKS中使用Azure File
    AKS (2) SSH登录到AKS Node
    Azure Virtual Network (18) 跨租户间的VNet Peering
    Azure ARM (23) 自定义Role
    Linux学习 (5) 安装Nginx
    Linux学习 (4) MySQL设置Master-Slave
    Linux学习 (3) 安装mysql
    Linux学习 (3) 配置LVM
  • 原文地址:https://www.cnblogs.com/dxmfans/p/9434684.html
Copyright © 2011-2022 走看看