Skip to content

Commit 31581bc

Browse files
author
Sebastian Hösl
committed
version 1.0.0
1 parent a1ea2c2 commit 31581bc

File tree

8 files changed

+13
-10
lines changed

8 files changed

+13
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ npm install simple-tooltips --save
1717
or
1818

1919
```html
20-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/simple-tooltips@1.0.0-beta1/dist/simple-tooltips.css" />
20+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/simple-tooltips/dist/simple-tooltips.css" />
2121
```
2222

2323
and use it like this

dist/simple-tooltips.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/simple-tooltips.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
<meta charset="utf-8" />
66
<title>Simple Tooltips</title>
77
<link rel="stylesheet" href="preview.css" />
8-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/simple-tooltips/dist/simple-tooltips.css" />
8+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/simple-tooltips@1.0.0/dist/simple-tooltips.css" />
99
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome/css/font-awesome.min.css" />
1010
</head>
1111

1212
<body>
13+
<h1>Simple Tooltips</h1>
14+
<h2>Examples</h2>
1315
<section class="buttons">
1416
<button role="tooltip" data-stt-text="Super simple awesome Tooltip!">This is a <b>Tooltip</b> Button! <i>Hover me!</i></button>
1517
<button role="tooltip" class="btn-type-b" data-stt-text="Super simple awesome Tooltip!" data-stt-fade>Try this with transition effect, pretty cool huh?</i></button>

docs/preview.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/preview.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/preview.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
.buttons {
2-
padding: 2rem;
1+
body {
2+
margin: 2rem;
3+
font-family: sans-serif;
34
}
45

56
button {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "simple-tooltips",
33
"description": "Create pure CSS tooltips without a single line of JavaScript code!",
4-
"version": "1.0.0-beta1",
4+
"version": "1.0.0",
55
"scripts": {
6-
"start": "npm run serve",
6+
"start": "npm run build | npm run serve",
77
"build": "node build.js",
88
"prepublishOnly": "npm run build",
99
"serve": "serve | start http://localhost:5000/docs/index.html"

0 commit comments

Comments
 (0)