naive-ui/demo/documentation/components/gradientText/enUS/size.md
2020-01-27 20:28:47 +08:00

429 B

Size

Maybe using CSS is a better way.

<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;
}