Browse Source

首页按钮样式

caojunjie 4 năm trước cách đây
mục cha
commit
52d68b51c6
1 tập tin đã thay đổi với 9 bổ sung1 xóa
  1. 9 1
      src/views/index.vue

+ 9 - 1
src/views/index.vue

@@ -459,7 +459,15 @@ export default {
   flex-wrap: wrap;
   justify-content: space-around;
   height: 350px;
-
+  li:hover{
+    background-color: #025184;
+  }
+  li:nth-child(6),li:nth-child(7),li:nth-child(8),li:nth-child(9),li:nth-child(10){
+    background-color: #2f4554;
+  }
+  li:nth-child(6):hover,li:nth-child(7):hover,li:nth-child(8):hover,li:nth-child(9):hover,li:nth-child(10):hover{
+    background-color: #2f4454d1;
+  }
   li {
     width: 18%;
     height: 150px;