Skip to main content

css

the name of a CSS class(es) applied to Tabbar

css?: string;

Example

<style>
.my_first_class {
/*some styles*/
}

.my_second_class {
/*some styles*/
}
</style>

const tabbar = new dhx.Tabbar("tabbar_container", {
css: "my_first_class my_second_class"
});

Related sample: Tabbar. Styling (custom CSS)

Note, that the DHTMLX library provides a set of own CSS classes that you can also apply to change the appearance of Tabbar:

const tabbar = new dhx.Tabbar("tabbar_container", {
css: "dhx_widget--bg_white"
});