zoukankan      html  css  js  c++  java
  • Bootstrap 标签的变体 实例样式

    Bootstrap 标签样式,代码如下:

    <!DOCTYPE html>
    <html>
    <head>
        <title>Bootstrap 实例 - 标签的变体</title>
        <style type="text/css">
            .label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}
            .label[href]:hover,.label[href]:focus{color:#fff;text-decoration:none;cursor:pointer}
            .label:empty{display:none}
            .label-default{background-color:#999}
            .label-default[href]:hover,.label-default[href]:focus{background-color:#808080}
            .label-primary{background-color:#428bca}
            .label-primary[href]:hover,.label-primary[href]:focus{background-color:#3071a9}
            .label-success{background-color:#5cb85c}
            .label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}
            .label-info{background-color:#5bc0de}
            .label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}
            .label-warning{background-color:#f0ad4e}
            .label-warning[href]:hover,.label-warning[href]:focus{background-color:#ec971f}
            .label-danger{background-color:#d9534f}
            .label-danger[href]:hover,.label-danger[href]:focus{background-color:#c9302c}
        </style>
    </head>
    <body>
        <span class="label label-default">默认标签</span>
        <span class="label label-primary">主要标签</span>
        <span class="label label-success">成功标签</span>
        <span class="label label-info">信息标签</span>
        <span class="label label-warning">警告标签</span>
        <span class="label label-danger">危险标签</span>
    </body>
    </html>            
  • 相关阅读:
    Oracle客户端安装与配置
    Word VBA(批量复制Excel表格和Word表格到Word中)
    批量追加数据库(GDB,MDB,Shp)
    批量横向打印Excel
    重命名要素类
    删除GIS数据属性值空格(GDB,MDB,Shp)
    删除GIS数据库空层(GDB,MDB,Shape)
    批量裁剪GIS数据(包含GDB,MDB,Shp)
    批量裁剪GDB
    3DS文件导出MultiPatch
  • 原文地址:https://www.cnblogs.com/wsk198726/p/4969303.html
Copyright © 2011-2022 走看看