I need help with transitioning the text-shadow color horizontally on hover. I found a solution that demonstrates how to do this here:
Although it shouldn't matter, I am working in react with styled-components.
Here is an example of what I am trying to achieve:
.styled {
background-color: black;
font-size: 30px;
list-style-type: none;
margin: 0;
padding: 0;
text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}
.styled:hover {
text-shadow: -1px -1px 0 cyan, 1px -1px 0 cyan, -1px 1px 0 cyan, 1px 1px 0 cyan;
}
<li class="styled">Test</li>