Issue
I really dont understand why it doesnt work, but maybe it has something to do with some other style that Im applying. Does anyone know how fix this ? Thanks in advance
href="https://stackblitz.com/edit/feqna?file=src%2Fstyles%2FQCard_style.css" rel="nofollow noreferrer">https://stackblitz.com/edit/feqna?file=src%2Fstyles%2FQCard_style.css
Solution
If just setting a gradient background ground for the link-btn, use this:
background: linear-gradient(...)
Instead of
background-color: linear-gradient(...)
This is because background-color
property is for setting single color only (hence the invalid property value error).
If setting a link text with a gradient color(also called clip text), use the example GalAbra posted.
Answered By - John Li
Answer Checked By - - Pedro (ReactFix Volunteer)