Skip to content

Commit

Permalink
update README.md and package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
xurui3762791 committed Apr 13, 2016
1 parent 877e984 commit e6b28c4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,18 @@ npm install tooltips --save
<button class="tooltips-bottom tooltips-always" data-tooltips="...还可以这样提示">还可以这样提示</button>


```

## 新增背景颜色提示

```html

<button data-tooltips="error tooltips" class="tooltips-top tooltips-error">error</button>
<button data-tooltips="warning tooltips" class="tooltips-top tooltips-warning">warning</button>
<button data-tooltips="info tooltips" class="tooltips-top tooltips-info">info</button>
<button data-tooltips="success tooltips" class="tooltips-top tooltips-success">top</button>


```

# 开发
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tooltips",
"version": "1.0.6",
"version": "1.0.7",
"description": "纯css工具提示 tooltips",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit e6b28c4

Please sign in to comment.