From 65e4578c5c49c717e68048372becb7ce8aba4762 Mon Sep 17 00:00:00 2001 From: zjt <937178071@qq.com> Date: Sat, 2 Dec 2023 19:29:24 +0800 Subject: [PATCH] fix bugs --- src/App.css | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/App.css b/src/App.css index cc878be..31cb7a6 100644 --- a/src/App.css +++ b/src/App.css @@ -1327,12 +1327,17 @@ top: 99px; width: 1222px; } - +.words::before { + position: absolute; + left: -100%; + content: attr(data-text); +} .words { position: relative; width: fit-content; - animation: move 4s linear infinite; - padding-left: 50px; + animation: move 8s linear infinite; + font-weight: bolder; + opacity: 0.7; } .words::after { position: absolute;