How to add gradient fill to submit button?

I feel that this topic I posted a while back would allow you to create gradient buttons even within Wix Forms.

/*button is the only necessary part so that you can target the buttons within the form*/
.custom-class button {
    background: linear-gradient(20deg,rgba(238, 174, 202, 1) 0%, rgba(148, 187, 233, 1) 55%, rgba(0, 255, 225, 1) 100%);
}

If you only want to target the submit button, you could use this code:

Here’s the code for this;

.custom-class [data-hook="submit-button"] {
    background: linear-gradient(20deg,rgba(147, 116, 234, 1) 0%, rgba(82, 147, 243, 1) 55%, rgba(137, 234, 221, 1) 100%);
}