📜  如何在情感中添加悬停效果 - CSS 代码示例

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

代码示例1
const Button = styled.div`
  background-color: green;
  color: white;
 /*  like scss, you can add hover effect */
  &:hover {
    display: block;
  }
`;