# Primary color
你可以使用文字提示,当用户使用点击或者鼠标对准某个元素时显示消息。
| 类名 | 类型 | |
|---|---|---|
| tooltip | 响应类 | Container element |
| tooltip-open | 组件类 | Force open tooltip |
| tooltip-top | 响应类 | Put tooltip on top |
| tooltip-bottom | 响应类 | Put tooltip on bottom |
| tooltip-left | 响应类 | Put tooltip on left |
| tooltip-right | 响应类 | Put tooltip on right |
| tooltip-primary | 装饰类 | Adds `primary` color to tooltip |
| tooltip-secondary | 装饰类 | Adds `secondary` color to tooltip |
| tooltip-accent | 装饰类 | Adds `accent` color to tooltip |
| tooltip-info | 装饰类 | Adds `info` color to tooltip |
| tooltip-success | 装饰类 | Adds `success` color to tooltip |
| tooltip-warning | 装饰类 | Adds `warning` color to tooltip |
| tooltip-error | 装饰类 | Adds `error` color to tooltip |
