首页/styles.css:修订间差异

撤销Selfice讨论)的修订版本131
标签撤销 已被回退
无编辑摘要
标签手工回退 已被回退
第275行: 第275行:
}
}


.container_character {
width: 100%;
overflow: hidden;
position: relative;
background-color: rgba(255, 255, 255, 0.1);
box-shadow: 0 2px 5px #aaa;
}


.scroll-content {
.scroll-content {
display: flex;
display: flex;
overflow: hidden;
    width: calc(200%); /* 因为内容重复一次 */
width: 300px; /* Set a fixed width for the container */
    animation: scroll 10s linear infinite;
position: relative;
}
}


.scroll-item {
.item {
width: 160px;
width: 160px;
height:180px;
height:180px;
第292行: 第298行:
background-color: rgba(255, 255, 255, 0.1);
background-color: rgba(255, 255, 255, 0.1);
box-shadow: 0 2px 5px #aaa;
box-shadow: 0 2px 5px #aaa;
white-space: nowrap;
flex: 0 0 auto;
transition: transform 0.1s linear;
    white-space: nowrap;
}
}