* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body,html {
    height: 100%;
    overflow: hidden;
}
body {
    overflow-y: auto;
    padding: 2em;
    background: linear-gradient(135deg,#f184e8 10%,#e209e9 90%);
}
.rabbit-box {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: auto;
}

.rabbit-box-header {
    width: 100%;
    background: linear-gradient(135deg,#ffc5e7 10%,#fa6cc4 90%);
    height: 60px;
    border-radius: 10px 10px 0 0;
    text-align: center;
    line-height: 60px;
}

.rabbit-box-header-btn {
    outline: none;
    border-radius: 4px;
    padding: .4rem 1rem;
    border: none;
    transition: all .4s cubic-bezier(0.075, 0.82, 0.165, 1);
    display: inline-block;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg,#f173bd 10%,#e71b92 90%);
    letter-spacing: 2px;
    font-size: 20px;
    font-family: "微软雅黑","楷体";
}

.rabbit-box-header-btn:hover,.rabbit-box-header-btn:active {
    background: linear-gradient(135deg,#f060b4 10%,#e60f8c 90%);
}

.rabbit-box-album {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
}

.rabbit-box-album-item {
    width: 33.3333%;
    height: 300px;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(0,0,0,.5);
    cursor: pointer;
    position: relative;
}

.rabbit-box-album-item::before,.rabbit-box-album-item::after {
    position: absolute;
    color: #fff;
    font-size: 15px;
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 0;
    transition: transform .4s ease-in-out;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.rabbit-box-album-item::before {
    content:attr(data-title);
    top: 0;
    background-color: rgba(0,0,0,.85);
    transform: translateY(-100%) scale(0);
}
.rabbit-box-album-item::after {
    content: attr(data-content);
    bottom: 0;
    background-color: rgba(0,0,0,.65);
    border-top: 1px solid #fff;
    transform: translateY(100%) scale(0);
}

.rabbit-box-album-item:hover.rabbit-box-album-item::before,
.rabbit-box-album-item:hover.rabbit-box-album-item::after {
    transform: translateY(0) scale(1);
}
.rabbit-box-album-item-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media screen and (max-width: 900px){
    .rabbit-box-album-item {
        width: 100%;
        height: 200px;
    }
}

::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    background-color: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    width: 4px;
    height: 4px;
    background-color: #ee4f9e;
}