Hello,
I need add color in backgraund this class. But this is not icon only png. How change this because in png is png OR backgraund?
https://snippet.webix.com/67bab269
Thank,
nkm
Hello,
I need add color in backgraund this class. But this is not icon only png. How change this because in png is png OR backgraund?
https://snippet.webix.com/67bab269
Thank,
nkm
and I need linear gradient color
Hey @nkm, your request is a bit confusing, are you looking to replace the default icon for this class, or are you looking to use the same icon, but you want to add the linear-gradient
to it?
Either way, you can specify a custom icon in the background-image
property, you should also use background-size: cover
to fit the image to the size of the element. As for the linear gradient, you combine the link to the image and the linear-gradient
property inside of the background-image
.
Here is the combined result, a custom icon and a background using linear gradient: https://snippet.webix.com/ml973q4a.