hover in emotion code example
Example: 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;
}
`;
const Button = styled.div`
background-color: green;
color: white;
/* like scss, you can add hover effect */
&:hover {
display: block;
}
`;