Balloon.css lets you add tooltips to elements without JavaScript and in just a few lines of CSS. By default, tooltips will always remain single-line no matter their length. You can change this behavior by using the attribute data-balloon-length with one of the values, small, medium, large or fit. If for some reason you do not want animations in your tooltips, you can use the data-balloon-blunt attribute for that. If you want to show tooltips even when user interaction isn't happening, you can simply use the data-balloon-visible attribute. The attribute data-balloon-visible can be easily added via JavaScript (e.g. .setAttribute()), enabling you to show tooltips whenever needed. Balloon.css exposes three CSS variables to make it easier to customize tooltips. his way you can use custom CSS to make your own tooltip styles.

Features

  • Balloon.css lets you add tooltips to elements without JavaScript
  • Just requires a few lines of CSS
  • Make your own tooltip styles
  • You can combine classes to achieve multiple customization
  • You can also add any HTML special character to your tooltips
  • Tooltips will always remain single-line no matter their length

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Balloon.css

Balloon.css Web Site

Other Useful Business Software
Your top-rated shield against malware and online scams | Avast Free Antivirus Icon
Your top-rated shield against malware and online scams | Avast Free Antivirus

Browse and email in peace, supported by clever AI

Our antivirus software scans for security and performance issues and helps you to fix them instantly. It also protects you in real time by analyzing unknown files before they reach your desktop PC or laptop — all for free.
Free Download
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Balloon.css!

Additional Project Details

Registered

2021-11-10