From ec6f207325f1996d71fb4e0c6acada906ec026bd Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Fri, 04 Mar 2022 18:38:32 +0800 Subject: [PATCH] css 抽取 --- src/App.vue | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/App.vue b/src/App.vue index 6607565..421793e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -50,7 +50,6 @@ } a { - color: #555; position: relative; } @@ -77,4 +76,13 @@ -o-transition: width 350ms, left 350ms; transition: width 350ms, left 350ms; } + .fade-enter-active, + .fade-leave-active { + transition: opacity .5s; + } + + .fade-enter, + .fade-leave-to { + opacity: 0; + } </style> -- Gitblit v1.9.1