Styling toggle button

Hello,

I’m using flat sking and pressed and unpressed states are very similar in color. I want to make the button transparent with back font color (icon) when unpressed and normal (blue color) when pressed. I’m trying using .webix_secondary .webix_pressed .webix_button classes but i had no luck achieving this, but I’m not an expert in CSS.

Could you help me please?

Here is my little example https://snippet.webix.com/0k3cg32g

Thank you Alena, with your tips I managed to make what i wanted.

Hello, @maperez

There is a possibility to add CSS class via addCss HTML method.
Here is the snippet: Code Snippet
In case you want to overwrite the CSS style for the toggle button, please check this example Code Snippet