Struggling to achieve a smooth easing effect for a box shadow transition using CSS3.
This is the current CSS code in use:
#how-to-content-wrap-first:hover {
-moz-box-shadow: 0px 0px 5px #1e1e1e;
-webkit-box-shadow: 0px 0px 5px #1e1e1e;
box-shadow: 0px 0px 5px #1e1e1e;
-webkit-transition: box-shadow 0.3s ease-in-out 0s;
-moz-transition: box-shadow 0.3s ease-in-out 0s;
-o-transition: box-shadow 0.3s ease-in-out 0s;
-ms-transition: box-shadow 0.3s ease-in-out 0s;
transition: box-shadow 0.3s ease-in-out 0s;
}
The issue arises initially when hovering over the element as there is no easing effect, and subsequently, only the hovering in effect occurs without any easing out.
If anyone has any suggestions or advice, it would be greatly appreciated!