From a2a70e349e99cc12dd3319945d74efa4226ec607 Mon Sep 17 00:00:00 2001 From: username <2971861643@qq.com> Date: Sun, 7 Apr 2024 17:53:45 +0800 Subject: [PATCH] 17.53 --- src/views/index.vue | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index 23df712..2e06f0c 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -155,13 +155,20 @@ export default { -ms-transition: all 0.5s; -o-transition: all 0.5s; transition: all 0.5s; + animation-duration: 3s; + animation-name: slidein; } - li:nth-child(5) { - position: absolute; - right: 0; + @keyframes slidein { + from { + width: 740px; } + to { + width: 180px; + } +} + li img { object-fit: cover; width: 100%;