From 6e66497bc3e8b00c3f7b741fe6c19d966f877a3b Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Wed, 27 Nov 2019 20:34:46 +0100 Subject: Add fade transition to post list --- components/PostList/PurePostList.vue | 35 +++++++++++++++++++++++++---------- 1 file changed, 25 insertions(+), 10 deletions(-) (limited to 'components/PostList/PurePostList.vue') diff --git a/components/PostList/PurePostList.vue b/components/PostList/PurePostList.vue index 7e70db8..07883ad 100644 --- a/components/PostList/PurePostList.vue +++ b/components/PostList/PurePostList.vue @@ -3,16 +3,18 @@
-
- -
-
Brak wpisów
+
Brak wpisów
+ +
+ +
+
@@ -73,4 +75,17 @@ export default { .no-posts { text-align: center; } + +@keyframes fade-in { + 0% { + opacity: 1; + } + 100% { + opacity: 0; + } +} + +.fade-in-enter-active { + animation: fade-in 0.3s reverse; +} \ No newline at end of file -- cgit 1.4.1