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