kazzkiq / balloon.css

Simple tooltips made of pure CSS
https://kazzkiq.github.io/balloon.css/
MIT License
5.03k stars 448 forks source link

Use CSS Variables #117

Closed kazzkiq closed 5 years ago

kazzkiq commented 5 years ago

Make use of CSS Variables so users can easily update tooltip options even on production and dynamically.

kazzkiq commented 5 years ago

Done, now variables:

--balloon-color
--balloon-font-size
--balloon-move

Are exposed and can be used to customize tooltips.

silverwind commented 5 years ago

Would variables for padding like --balloon-padding be possible?

kazzkiq commented 5 years ago

@silverwind Yes! Please open a new Issue asking for it if you think is useful. I will then assign it to the next milestone.