Vanilla Modal See the demo. Note: This is no longer under active maintenance. A tiny, flexible, completely dependency-free CSS-powered JavaScript modal. Written in ECMAScript 2015 and transpiled for universal use with Babel 6. Please be aware of recent breaking changes. If importing using a <script/> tag new VanillaModal() will now be new VanillaModal.default(). This is due to the way in which Bab