.msgbox {
    position: fixed;
    margin: auto;
    height: 32px;
    line-height: 32px;
    width: 100%;
    text-align: center;
    z-index: 99999;
    -moz-transition-duration: 300ms;
    -webkit-transition-duration: 300ms;
    transition-duration: 300ms;
    top: -32px;
    opacity: 0;
}

.msgbox.in {
    top: -1px;
    opacity: 1;
}

.msgbox .msg {
    display: inline-block;
    white-space: nowrap;
    height: 32px;
    line-height: 30px;
    color: #fff;
    font-size: 14px;
    min-width: 550px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;

}

.msgbox .msg.msg-success {
    background: #54c952
}

.msgbox .msg.msg-warning {
    background: #ffc000
}

.msgbox .msg.msg-error {
    background: #eb6060
}

.msgbox.loading {
    top: 10px;
    opacity: 1;
}

.msgbox.loading .msg {
    min-width: 150px;
    background: #f8f8f8;
    border: 1px solid #f2f2f2;
    border-radius: 3px;
    color: #666;
}

.msgbox.loading i {
    color: #09c;
}

/*新样式*/
.tip-message {
    min-width: 380px;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid #ebeef5;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    background-color: #edf2fc;
    overflow: hidden;
    padding: 15px 15px 15px 20px;
    display: flex;
    align-items: center;

    top: -32px;
    opacity: 0;
    transition: opacity .3s, transform .4s, top .4s;
}

.tip-message--success {
    background-color: #f0f9eb;
    border-color: #e1f3d8;
}

.tip-message--error {
    background-color: #fde2e2;
    border-color: #fde2e2;
}

.tip-message .iconfont {
    height: 18px;
    line-height: 18px;
    width: 18px;
    text-align: center;
    border-radius: 50%;
    font-size: 14px;
    margin-right: 10px;
}

.tip-message .icon-success {
    background-color: #67c23a;
    color: #fff;
}

.tip-message .icon-error {
    background-color: #f56c6c;
    color: #fff;
}

.tip-message--success .tip-message__content {
    color: #67c23a;
}

.tip-message--error .tip-message__content {
    color: #f56c6c;
}