📜  悬停效果按钮 css 代码示例

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

代码示例1
/*CSS Hover*/
.button {
  border-radius: 3px;
  border: none;
  background-color: red;
  color: white;
  transition: all 0.3s ease
}
.button:hover {
  transform: rotate(360deg);
  transform: scale(1.01);
}