color
介绍
color 属性指定文本的颜色,也支持通过 gradient 设置文本渐变色效果。
使用示例
语法
取值
形式定义
| 初始值 | 透明色 |
| 适用元素 | text |
| 是否支持继承 | no |
| 是否支持动画 | yes |
形式语法
注意事项
为 gradient 类型时,只有 text 元件有效。
兼容性
LCD tables only load in the browser
color 属性指定文本的颜色,也支持通过 gradient 设置文本渐变色效果。
| 初始值 | 透明色 |
| 适用元素 | text |
| 是否支持继承 | no |
| 是否支持动画 | yes |
为 gradient 类型时,只有 text 元件有效。
LCD tables only load in the browser