.wrap{
    display: none;
    width:300px;
    height: 40px;
    background-color:#b3adad;
    margin:30px;
    text-align: center;
    line-height: 40px;
    /*border-radius: 7px;*/
    position:relative;
}
.rect{
    position: relative;
    width: 300px;
    height: 100%;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}
.rec{
    position:absolute;
    top:0;
    left:0;
    width:0;
    height:100%;
    background: #E50012;
}
.silde{
    position:absolute;
    top:0;
    left:0;
    z-index: 11;
    /*在这里面，当设置长宽为40px时在加上边框1px就会超出 40px。
    可以使用怪异盒模型，怪异盒模型会使盒子的宽高包括边框，操持40px；*/
    box-sizing:border-box;
    width:40px;
    height:40px;
    background: #fff;
    border:1px solid #ccc;
    color: #666;
}
body .layui-layer-title {
    padding: 0 80px 0 20px;
    height: 42px;
    line-height: 42px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    color: #222;
    overflow: hidden;
    background-color: #fff;
    border-radius: 2px 2px 0 0;
    font-weight: bold;
}