not really, you made it more complex now. You only need to prefix the mask property and keep the gradient as it is:
mask-image: linear-gradient(transparent 50%, white 50%), linear-gradient(to right, transparent 50%, white 50%); -webkit-mask-image: linear-gradient(transparent 50%, white 50%), linear-gradient(to right, transparent 50%, white 50%);
And please remove all the other prefixes you added to animations, they are useless.
jsfiddle.net/cfvotynr/1/
I've updated the code.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
not really, you made it more complex now. You only need to prefix the mask property and keep the gradient as it is:
And please remove all the other prefixes you added to animations, they are useless.
🤦♂️
jsfiddle.net/cfvotynr/1/
👍
I've updated the code.