mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
432 B
432 B
尺寸
其实用 CSS 也挺方便的。
<n-gradient-text
type="info"
>
Live Forever
</n-gradient-text>
<n-gradient-text
type="danger"
>
Live Forever
</n-gradient-text>
<br/>
<n-gradient-text
:size="24"
type="warning"
>
Married with Children
</n-gradient-text>
<br/>
<n-gradient-text
:size="24"
type="success"
>
Back in the USSR
</n-gradient-text>
.n-gradient-text {
font-size: 36px;
}