index.css 488 字节
Newer Older
郭维嘉 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
.card-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
}
.card-item .card-content {
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 9;
  top: 0;
  left: 0;
}
19 20 21 22 23 24 25 26 27
@media screen and (min-width: 1000px) {
  .card-item .object-cover {
    filter: blur(1px);
    transition: all 0.2s;
  }
  .card-item:hover .object-cover {
    transform: scale(1.02);
    filter: blur(0);
  }
郭维嘉 已提交
28
}