amis2/docs/css-utilities/state.md
2020-11-30 16:53:04 +08:00

19 lines
437 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: 状态样式
---
除了给默认状态设置样式外还支持几个特定状态的样式设置比如hover鼠标悬停、active当前选中或者 disabled当前不可用
```schema:height="100" scope="body"
{
"type": "button",
"label": "按钮",
"className": "bg-pink-400 hover:bg-pink-600",
"actionType": "dialog",
"dialog": {
"title": "弹框",
"body": "Hello World!"
}
}
```