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>
  • 相关阅读:
    甩掉DataList,Repeater,列表数据显示得灵活
    拟将《汉字速查》更名为《汉文博士》,诸位有何高见?
    新一版的汉文博士(0.5.2.1210)已经发布
    新一版的汉文博士(0.5.1.1070)已经发布
    EditPlus 3.5 版已经发布
    如何在计算机和汉字速查界面上显示七万个汉字
    使用汉字构形检索疑难字
    软件使用方法及界面截图
    Unihan 里的笔画数据有问题?
    循序渐进制作我的词典数据库(一)
  • 原文地址:https://www.cnblogs.com/dxmfans/p/9434684.html
Copyright © 2011-2022 走看看