Browse Source

style: 星星放大动画

ChenYangfan 6 years ago
parent
commit
5597c7ded2
1 changed files with 8 additions and 0 deletions
  1. 8 0
      src/components/Basic/CStars.vue

+ 8 - 0
src/components/Basic/CStars.vue

@@ -51,8 +51,16 @@ export default {
 <style lang="scss" scoped>
 .stars-icon {
   cursor: pointer;
+  transition: .1s ease-out;
+  &:hover {
+    transform: scale(1.35);
+  }
 }
 .c-stars {
   height: 26px;
+  transition: .15s ease-out;
+  &:hover {
+    transform: scale(1.2);
+  }
 }
 </style>