common.scss 871 Bytes
Newer Older
程智春 committed
1 2 3 4 5 6 7 8 9 10 11 12 13
.text-overflow{
    overflow: hidden; 
    white-space: nowrap; 
    text-overflow: ellipsis;
}

.text-overflow2{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;   
} 
李嘉林 committed
14 15 16
.flex{
    display: flex;
}
程智春 committed
17

李嘉林 committed
18 19 20 21 22 23 24 25 26 27
.flex-btw {
    justify-content: space-between;
    align-items: center;
}

.flex-cen {
    justify-content: center;
    align-items: center;
}

程智春 committed
28 29 30 31 32 33 34 35 36 37 38 39 40 41
@mixin btn {
    width: 148px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 16px;
    color: white;
    border-radius: 8px;
    background-image:-webkit-linear-gradient(to right,#FF877D, #FB566D);
    background-image:-moz-linear-gradient(to right,#FF877D, #FB566D);
    background-image:-o-linear-gradient(to right,#FF877D, #FB566D);
    background-image: linear-gradient(to right,#FF877D, #FB566D);
}