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

无编辑摘要
标签手工回退 已被回退
无编辑摘要
标签手工回退
第278行: 第278行:
width: 100%;
width: 100%;
overflow: hidden;
overflow: hidden;
position: relative;
display: flex;
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;
第285行: 第285行:
.scroll-content {
.scroll-content {
display: flex;
display: flex;
    width: calc(200%); /* 因为内容重复一次 */
animation: scroll 15s linear infinite;
    animation: scroll 10s linear infinite;
}
}


第298行: 第297行:
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;
flex: 0 0 auto;
    white-space: nowrap;
}
}


第307行: 第304行:
}
}
100% {
100% {
transform: translateX(-50%);
transform: translateX(-25%);
}
}
}
}