Custom icon in webix_resize_handle

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

Comments

  • 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.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!