diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-11-09 08:33:49 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-11-09 08:33:49 +0100 |
commit | 6df360ef621cf5e3e8964fa9795bd0b2ae6aafae (patch) | |
tree | 0c0d26311086802c33a703e4aee32889ae09088a | |
parent | dec87e2a665c5cd1c75686dda388c042a1b042f6 (diff) | |
download | puszcza-6df360ef621cf5e3e8964fa9795bd0b2ae6aafae.tar.gz puszcza-6df360ef621cf5e3e8964fa9795bd0b2ae6aafae.zip |
Add scale on hover
-rw-r--r-- | components/PostLink.vue | 6 |
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 { |