toast.css 769 Bytes
Newer Older
txy committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
.cpt-toast {
    position: fixed;
    left: 50%;
    top: 50%;
    text-align: center;
    animation-duration: 0.3s;
    max-width: 300px;
    line-height: 20px;
    display: inline-block;
    vertical-align: middle;
    *vertical-align: auto;
    *zoom: 1;
    *display: inline;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
    transform: translate3d(-50%, -50%, 0);
    font-family: '微软雅黑','Microsoft Yahei';
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    word-wrap: break-word;
}

.global-block {
    display: block;
}
.global-none {
    display: none;
}