CSS0010: DIV按钮样式

1,

    .btn{
        color: #fff;
        background-color: #337ab7;
        border-color: #2e6da4; 
        display: inline-block;
        padding: 6px 12px;
        margin-bottom: 0;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.42857143;
        text-align: center;
        white-space: nowrap;
        text-decoration: none;
        vertical-align: middle;
        -ms-touch-action: manipulation;
        touch-action: manipulation;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-image: none;
        border: 1px solid transparent;
        border-radius: 4px;
    }

效果截图:

 

posted @ 2020-07-05 15:08  琥珀君  阅读(1128)  评论(0编辑  收藏  举报