Get started with balloon-css CDN
MIT licensed
Lightweight library: Balloon.css - customizable animations, tooltips, popovers.
Tags:- css
- tooltip
Stable version
Copied!
How to start using balloon-css CDN
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://cdn.cdnhub.io/balloon-css/1.2.0/balloon.min.css">
<title>Get started with balloon-css CDN - cdnhub.io</title>
</head>
<body>
<button id="show-balloon">Show Balloon</button>
<script>
const button = document.getElementById('show-balloon');
button.addEventListener('click', () => {
balloon.show('Hello, this is a balloon message!', {
position: 'bottom right',
className: 'balloon-success'
});
});
</script>
</body>
</html>
Copied!
Copied!