adds a CSS rule to the page
css | string | the CSS text |
group_name | string | optional, the name of the CSS group |
webix.html.addStyle(".myclass{ color:red; }");
All styles added by the addStyle() method are remembered in Webix html helper in groups. The group name can be specified as the second parameter. If no group name is specified, the style will be saved as a part of the "default" group.
The group_name parameter makes sense if you want to remove the added CSS rules afterwards.