HZH-PC\HZH 4 years ago
parent
commit
18aa21e146
1 changed files with 10 additions and 0 deletions
  1. 10 0
      src/components/UserTest.vue

+ 10 - 0
src/components/UserTest.vue

@@ -1,10 +1,20 @@
 <style lang="scss" scoped>
 .home-page{
+  .ee{
+    width: 100px;
+    height: 100px;
+    background: black;
+    transition:width 2s;
+    &:hover{
+      width:300px;
+    }
+  }
 }
 </style>
 <template>
 <div class="home-page">
   <SrpElement :config="config" :type="type"></SrpElement>
+  <div class="ee"></div>
 </div>
 </template>