11
This commit is contained in:
@@ -281,7 +281,7 @@ onUnmounted(() => {
|
||||
<style scoped>
|
||||
.danmaku-item {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
white-space: nowrap;
|
||||
animation: danmaku-scroll linear forwards;
|
||||
pointer-events: none;
|
||||
@@ -291,11 +291,11 @@ onUnmounted(() => {
|
||||
|
||||
@keyframes danmaku-scroll {
|
||||
from {
|
||||
transform: translateX(100%);
|
||||
transform: translateX(0);
|
||||
opacity: 1;
|
||||
}
|
||||
to {
|
||||
transform: translateX(-100%);
|
||||
transform: translateX(-200%);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user