📜  盒子阴影 css 过渡 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:57.293000             🧑  作者: Mango

代码示例2
/* Scale up the box */
.box:hover {
  transform: scale(1.2, 1.2);
}

/* Fade in the pseudo-element with the bigger shadow */
.box:hover::after {
  opacity: 1;
}