forked from arashmanteghi/simptip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9598818
commit 88d23cd
Showing
1 changed file
with
27 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,43 @@ | ||
Simptip: A simple CSS tooltip that has been made by Sass | ||
[Visit Site](). | ||
# Simptip [v1.0.0] | ||
#####A simple CSS tooltip that has been made by Sass | ||
|
||
###[Visit Site, Documentation and some examples]() | ||
|
||
Installation | ||
|
||
###Installation | ||
|
||
We explain this with an example: | ||
<code><link rel="stylesheet" type="text/css" href="simptip-mini.css" /></code> | ||
```html | ||
<link rel="stylesheet" type="text/css" href="simptip-mini.css" /> | ||
``` | ||
or: | ||
```html | ||
<link rel="stylesheet" type="text/css" href="simptip.css" /> | ||
``` | ||
|
||
Usage | ||
###Usage | ||
|
||
Then you can use like this: | ||
```html | ||
<span class="simptip-position-top" data-tooltip="Tooltip's content"> Text </span> | ||
``` | ||
What you see in the data-tooltip attribute is the text content of tooltips, and the value of class attribute is about tooltop's position. | ||
|
||
You can use .simptip-position-right , .simptip-position-bottom and .simptip-position-left class for other positions that you would like. | ||
You can use `.simptip-position-right` , `.simptip-position-bottom` and `.simptip-position-left` class for other positions that you would like. | ||
|
||
You can also use more features of Simptip by adding these classes: | ||
.half-arrow : change tooltip's arrow to half arrow | ||
.simptip-smooth : makes soft edge for tooltip | ||
.simptip-fade : fades effect for show/hide | ||
.simptip-movable : shows movable effect | ||
.simptip-multiline : makes multiline body for tooltip | ||
.simptip-success : changes color to green spectrum | ||
.simptip-info : changes color to blue spectrum | ||
.simptip-warning : changes color to orange spectrum | ||
.simptip-danger : changes color to red spectrum | ||
|
||
|
||
License | ||
- `.half-arrow` : change tooltip's arrow to half arrow | ||
- `.simptip-smooth` : makes soft edge for tooltip | ||
- `simptip-fade` : fades effect for show/hide | ||
- `.simptip-movable` : shows movable effect | ||
- `.simptip-multiline` : makes multiline body for tooltip | ||
- `.simptip-success` : changes color to green spectrum | ||
- `.simptip-info` : changes color to blue spectrum | ||
- `.simptip-warning` : changes color to orange spectrum | ||
- `.simptip-danger` : changes color to red spectrum | ||
|
||
|
||
###License | ||
Copyright (c) 2013 Arash Manteghi | ||
|
||
Licensed under the [MIT license](http://opensource.org/licenses/MIT). |