Quote from
luishp on June 21, 2022, 12:04 pm
This CSS trick works on modern web browsers (you will not see it until you execute your app)
Add this code into Project>Properties>Styles
.text-color-gradient{
background: -webkit-linear-gradient(left, red, yellow);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
Replace "left" with your desired direction and "red" and "yellow" with your desired colors.
Then set the desired object css-class property to "text-color-gradient" and run your app :)
This CSS trick works on modern web browsers (you will not see it until you execute your app)
Add this code into Project>Properties>Styles
.text-color-gradient{
background: -webkit-linear-gradient(left, red, yellow);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
Replace "left" with your desired direction and "red" and "yellow" with your desired colors.
Then set the desired object css-class property to "text-color-gradient" and run your app :)
Uploaded files:- You need to login to have access to uploads.
Vadim, CDY@44 and 2 other users have reacted to this post.
VadimCDY@44asmatjavadrajabihakami