---
order: 999
title:
zh-CN: 自定义 label & wrapper 样式
en-US: Customize label & wrapper style
debug: true
---
## zh-CN
自定义 label & wrapper 样式
## en-US
Customize label & wrapper style
```tsx
import { Descriptions, Divider } from 'antd';
const labelStyle: React.CSSProperties = { background: 'red' };
const contentStyle: React.CSSProperties = { background: 'green' };
function renderCelledDesc(bordered?: boolean) {
return (
Cloud Database
Prepaid
YES
);
}
function renderRootDesc(bordered?: boolean) {
return (
Cloud Database
Prepaid
YES
);
}
ReactDOM.render(
<>
{renderCelledDesc()}
{renderCelledDesc(true)}
{renderRootDesc()}
{renderRootDesc(true)}
>,
mountNode,
);
```