balloon-css
Advanced tools
Comparing version 1.0.4 to 1.1.0
{ | ||
"name": "balloon-css", | ||
"version": "1.0.4", | ||
"version": "1.1.0", | ||
"description": "Simple tooltips made of pure CSS", | ||
@@ -5,0 +5,0 @@ "author": "Claudio Holanda", |
@@ -99,4 +99,11 @@ [![npm version](https://badge.fury.io/js/balloon-css.svg)](https://www.npmjs.com/package/balloon-css) | ||
Balloon.css exposes three CSS variables to make it easier to customize tooltips: `--balloon-color`, `--balloon-font-size` and `--balloon-move`. This way you can use custom CSS to make your own tooltip styles: | ||
Balloon.css exposes CSS variables to make it easier to customize tooltips: | ||
- `--balloon-border-radius` | ||
- `--balloon-color` | ||
- `--balloon-font-size` | ||
- `--balloon-move` | ||
This way, you can use custom CSS to make your own tooltip styles: | ||
```css | ||
@@ -120,4 +127,5 @@ /* Add this to your CSS */ | ||
```css | ||
/* All tooltips would now be blue */ | ||
/* All tooltips would now be square and blue */ | ||
:root { | ||
--balloon-border-radius: 0; | ||
--balloon-color: blue; | ||
@@ -124,0 +132,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
32947
236
160