I have an idea: don’t use border to make small arrows, use transform to make small arrows. If you use transform, you can use background gradient. One thing to note is that since the little arrow is rotated 45 degrees, your background gradient will also be rotated 45 degrees.
Hi, what you need is this CSS Button
As follows
A more violent solution is to use pictures. Any issues such as rounded corners, gradients, or incompatibilities can be solved by me
You can use border gradient border-image:linear-gradient(.....)
I have an idea: don’t use border to make small arrows, use transform to make small arrows. If you use transform, you can use background gradient. One thing to note is that since the little arrow is rotated 45 degrees, your background gradient will also be rotated 45 degrees.