Airhorn Web Component. Quick, load the demo! 📢
Distributed as an ES6 module. Requires Custom Elements and Shadow DOM.
This content is fine, but if you click on me, I'll become very loud.
disabled attribute to disable the airhorn.
overflow: hidden on the CSS of element to 'contain' the airhorn to its bounds, rather than expanding out onto the page.
airhorn-overlay on NPM and include the ES6 module:
;// or maybe your transpiler supports...;