How to add css dynamically?

Hi, By default , i am applying below css (broder:none)

.webix_el_text input{
border:none;
}

My question is how to apply css ( border:inherit) dynamically on button click.
I am calling below code. but it doesn’t work for me?

webix.html.addCss($$(“viewId”).getNode(), “.webix_el_text input{ border: inherit; }”);

addCss expects only a class name as a parameter. Please check the following sample: https://snippet.webix.com/9igb4u3h

Thank you ListPod