.one-line {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.two-line {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* 避免因为html元素加了font-size, 影响了其它部位的默认font-size */
body {
    font-size: initial;
}


a {
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

/*定义滚动条样式（高宽及背景）*/
::-webkit-scrollbar {
    width: 16px; /* 滚动条宽度， width：对应竖滚动条的宽度  height：对应横滚动条的高度*/
    background: #FBFBFB;
}

/*定义滑块 样式*/
::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 4px solid #FBFBFB;
    background-color: #C3C3C3;
}

.cursor {
    cursor: pointer;
}

/*定义图片放大效果*/
.image-zoom-in {
    transition: all 0.6s;
}

.image-zoom-in:hover {
    transform: scale(1.1);
}

/*禁止子元素超出父元素*/
.clip-bounds {
    overflow: hidden;
}