diff --git a/assets/css/animations.css b/assets/css/animations.css new file mode 100644 index 0000000..8a5f6e1 --- /dev/null +++ b/assets/css/animations.css @@ -0,0 +1,15 @@ +.bounce-enter-active { + animation: bounce-in 0.6s ease-out; +} + +@keyframes bounce-in { + 0% { + transform: translateY(0); + } + 50% { + transform: translateY(-10%); + } + 100% { + transform: translateY(0); + } +} diff --git a/nuxt.config.js b/nuxt.config.js index b5858fa..161c2d9 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -18,7 +18,7 @@ export default { }, // Global CSS: https://go.nuxtjs.dev/config-css - css: ['@/assets/css/global.css'], + css: ['@/assets/css/global.css', '@/assets/css/animations.css'], // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins plugins: [], diff --git a/pages/functions/_slug.vue b/pages/functions/_slug.vue index 9088701..98f0be9 100644 --- a/pages/functions/_slug.vue +++ b/pages/functions/_slug.vue @@ -15,7 +15,13 @@ -
→🎈→
+
+ → + + 🎈 + + → +