Answers for "emotion on hover"

CSS
0

how to add hover effect in emotion

const Button = styled.div`
  background-color: green;
  color: white;
 /*  like scss, you can add hover effect */
  &:hover {
    display: block;
  }
`;
Posted by: Guest on July-11-2020

Browse Popular Code Answers by Language