芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/reginaeigbe.com/folder/admin/tmp/resources/scss/Frontend/shortcode/movingtext.scss
.cs-moving_text_wrap { font-family: helvetica; overflow: hidden; font-size: 120px; line-height: 1.2em; color: transparent; -webkit-text-stroke: 2px $accent; } .cs-moving_text_in { display: flex; flex-wrap: nowrap; white-space: nowrap; min-width: 100%; } .cs-moving_text { display: flex; flex-shrink: 0; align-items: center; padding: 5px 6px; animation: slide-left 20s linear infinite; > * { margin: 0 20px; } } .cs-moving_text_wrap.cs-type1 { color: $accent; .cs-moving_text { padding: 5px 0; animation: slide-left 40s linear infinite; a { &:hover { color: transparent; -webkit-text-stroke: 2px $accent; } } } &:hover { .cs-moving_text { animation-play-state: paused; } } } .cs-moving_text_wrap.cs-type2 { color: #fff; -webkit-text-stroke: initial; .cs-moving_text { background: linear-gradient( 180deg, #fff 0%, rgba(255, 255, 255, 0) 103.33% ); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } } .cs-reverse_animation { animation-direction: reverse !important; } @keyframes slide-left { from { transform: translateX(0); } to { transform: translateX(-100%); } } @media screen and (max-width: 1380px) { .cs-moving_text_wrap { font-size: 100px; } } @media screen and (max-width: 1199px) { .cs-moving_text_wrap { font-size: 80px; } } @media screen and (max-width: 575px) { .cs-moving_text_wrap { font-size: 56px; } }