about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-11-09 08:33:49 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-11-09 08:33:49 +0100
commit6df360ef621cf5e3e8964fa9795bd0b2ae6aafae (patch)
tree0c0d26311086802c33a703e4aee32889ae09088a
parentdec87e2a665c5cd1c75686dda388c042a1b042f6 (diff)
downloadpuszcza-6df360ef621cf5e3e8964fa9795bd0b2ae6aafae.tar.gz
puszcza-6df360ef621cf5e3e8964fa9795bd0b2ae6aafae.zip
Add scale on hover
-rw-r--r--components/PostLink.vue6
1 files changed, 6 insertions, 0 deletions
diff --git a/components/PostLink.vue b/components/PostLink.vue
index 5bc5127..9ee24b7 100644
--- a/components/PostLink.vue
+++ b/components/PostLink.vue
@@ -44,6 +44,12 @@ export default {
   box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
   background: #ffffff;
   text-align: left;
+  transition: transform 300ms ease-in-out;
+}
+
+.post-link:hover {
+  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
+  transform: scale(1.02);
 }
 
 .post-link > a {