<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@native-html/table-plugin](./table-plugin.md) &gt; [TableConfig](./table-plugin.tableconfig.md) &gt; [cssRules](./table-plugin.tableconfig.cssrules.md)

## TableConfig.cssRules property

Override default CSS rules with this prop.

<b>Signature:</b>

```typescript
cssRules?: string;
```

## Remarks

You should at least set a rule which adds a 0-margin to `body` and `html`<!-- -->, otherwise the table will look truncated. When set, `tableStyleSpecs` is ignored. If you want to extend default instead of override CSS styles, look at example bellow.

## Example


```
const cssRules = cssRulesFromSpecs(defaultTableStylesSpecs) + `
a {
  text-transform: uppercase;
}
`;

const config = {
  cssRules,
  // Other config options
};

```

